mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445)
Fix output extra comma
/# kubectl get service
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nginx-service-test 10.200.6.109 _**,80.11.12.10**_ 8000:31637/TCP 6s
**(output a extra comma)**
except:
nginx-service-test 10.200.6.109 _**80.11.12.10**_ 8000:31637/TCP 6s
/# cat lb.yaml
apiVersion: v1
kind: Service
metadata:
name: nginx-service-lb3
spec:
ports:
- port: 8000
targetPort: 80
protocol: TCP
type: LoadBalancer
selector:
name: nginx
externalIPs:
- 80.11.12.10
- 1.2.3.6
/# kubectl create -f lb.yaml