kubectl create service loadbalancer

From wikieduonline
Revision as of 20:19, 8 November 2023 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Related

See also

Advertising: