kubectl create service 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
- Understand difference between Ingress vs Load Balancer
- Understand the differences between:
kubectl create service loadbalancer
andkubectl expose deployment
Related
- Ingress
- NGINX Ingress Controller:
helm install nginx
- AWS Load Balancer Controller
kubectl describe service
[loadbalancer
]kubectl expose deployment: kubectl expose deployment mydeployment-name --type=LoadBalancer --name=mylbformydeployment
See also
kubectl create service loadbalancer
kubectl create service [ loadbalancer | clusterip | nodeport | extername ]
- Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
- Ingress controllers, NGINX Ingress Controller,
minikube addons enable ingress
,kubectl get ingress, kubectl get ingressclass, kubectl describe ingress
,Ingress:
, Ingress API, AWS Load Balancer Controller, Envoy Proxy, GKE Ingress, Kubernetes Gateway API,ingress.k8s.aws, ingresses.networking.k8s.io
,kind: Ingress
: (tls:, hosts:
),SuccessfullyReconciled
- Kubernetes LoadBalancer:
kubectl create service loadbalancer
Advertising: