Difference between revisions of "Kubernetes LoadBalancer"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<code>Kubernetes LoadBalancer</code> exposes the Service externally using a cloud provider's load balancer.
 
<code>Kubernetes LoadBalancer</code> exposes the Service externally using a cloud provider's load balancer.
 
* https://kubernetes.io/docs/concepts/services-networking/  
 
* https://kubernetes.io/docs/concepts/services-networking/  
 +
 +
 +
* <code>[[kubectl create service loadbalancer]]</code>
 +
 +
 +
* <code>[[kubectl expose deployment]] hello-world [[--type]]=[[LoadBalancer]] --name=my-service</code><ref>https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/</ref>
 +
 +
 +
== Example ==
 +
{{type LoadBalancer}}
 +
 +
== Activities ==
 +
* [[Understand ClusterIP, NodePort, LoadBalancer service types and endpoints]]
  
 
== Related ==
 
== Related ==
 
* <code>[[ClusterIP]]</code>
 
* <code>[[ClusterIP]]</code>
 
* <code>[[NodePort]]</code>
 
* <code>[[NodePort]]</code>
 +
* [[ServiceTypes]]
 +
* [[Kubernetes: Ingress controllers|Ingress controller]]: <code>[[kind: Ingress]]</code>
  
 
== See also ==
 
== See also ==
* [[CKA 1.23]], [[CKA 1.24]] [[Understand ClusterIP, NodePort, LoadBalancer service types and endpoints]]
+
* {{Kubernetes networking}}
 +
* {{K8s LB}}
  
 
[[Category:CKA]]
 
[[Category:CKA]]
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 13:50, 26 October 2023

Advertising: