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 07fd1c6 commit ff4ebc4Copy full SHA for ff4ebc4
content/en/docs/concepts/services-networking/service.md
@@ -546,11 +546,11 @@ spec:
546
app: MyApp
547
ports:
548
- port: 80
549
- # By default and for convenience, the targetPort is set to the same value as the port field.
550
targetPort: 80
551
- # `targetPort` is the port of pod, you would like to expose
552
- NodePort: 30007
553
- # `NodePort` is the port of node, you would like to expose
+ # By default and for convenience, the `targetPort` is set to the same value as the `port` field.
+ nodePort: 30007
+ # Optional field
+ # By default and for convenience, the Kubernetes control plane will allocates a port from a range (default: 30000-32767)
554
```
555
556
### Type LoadBalancer {#loadbalancer}
0 commit comments