We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de74866 commit f45abb0Copy full SHA for f45abb0
content/en/docs/concepts/services-networking/service.md
@@ -216,7 +216,8 @@ metadata:
216
name: my-service
217
spec:
218
ports:
219
- - protocol: TCP
+ - name: http
220
+ protocol: TCP
221
port: 80
222
targetPort: 9376
223
```
@@ -238,8 +239,7 @@ metadata:
238
239
kubernetes.io/service-name: my-service
240
addressType: IPv4
241
- - name: '' # empty because port 9376 is not assigned as a well-known
242
- # port (by IANA)
+ - name: http # should match with the name of the service port defined above
243
appProtocol: http
244
protocol: TCP
245
port: 9376
0 commit comments