Difference between revisions of "Kubernetes LoadBalancer"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/
Tags: Mobile web edit, Mobile edit |
|||
Line 3: | Line 3: | ||
− | + | * <code>[[kubectl create service loadbalancer]]</code> | |
+ | |||
+ | [[kubectl expose]] deployment hello-world [[--type]]=[[LoadBalancer]] --name=my-service <ref>https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/</ref> | ||
== Related == | == Related == |
Revision as of 05:19, 14 March 2023
Kubernetes LoadBalancer
exposes the Service externally using a cloud provider's load balancer.
kubectl expose deployment hello-world --type=LoadBalancer --name=my-service [1]
Related
See also
- CKA 1.23, CKA 1.24 Understand ClusterIP, NodePort, LoadBalancer service types and endpoints
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: