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 1fda127 commit 94ec519Copy full SHA for 94ec519
content/en/docs/concepts/services-networking/service.md
@@ -545,12 +545,12 @@ spec:
545
selector:
546
app: MyApp
547
ports:
548
+ # By default and for convenience, the `targetPort` is set to the same value as the `port` field.
549
- port: 80
550
targetPort: 80
- # By default and for convenience, the `targetPort` is set to the same value as the `port` field.
551
- nodePort: 30007
552
# Optional field
553
# By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767)
+ nodePort: 30007
554
```
555
556
### Type LoadBalancer {#loadbalancer}
0 commit comments