mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples. Part of multi-port service cleanup.
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
spec:
|
||||
# the container on each pod to connect to, can be a name
|
||||
# (e.g. 'www') or a number (e.g. 80)
|
||||
containerPort: 80
|
||||
targetPort: 80
|
||||
# the port that this service should serve on
|
||||
port: 8000
|
||||
protocol: TCP
|
||||
|
Reference in New Issue
Block a user