kubectl create service loadbalancer

From wikieduonline
(Redirected from Kubectl create loadbalancer)
Jump to navigation Jump to search

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-service-loadbalancer-em-

kubectl create service loadbalancer
kubectl create service loadbalancer my-lbs --tcp=5678:8080


 apiVersion: v1
kind: Service
metadata:
  name: example-service
spec:
  selector:
    app: example
  ports:
    - port: 8765
      targetPort: 9376
  type: LoadBalancer


Activities[edit]

Related[edit]

See also[edit]

Advertising: