Setting up load balancing with ingress.

906    Asked by StacyReed in Devops , Asked on Feb 3, 2020
Answered by Stacy Reed

Ingress basically allows outside internet traffic to kube cluster. Via ingress http traffic via port 80 & 443 can be allowed to enter the kube cluster and vice-versa. This further can be used for load balancing, front-end hosting, terminating SSL/TLS.

Internet -> Ingress -> Services (Kube cluster).

Ingress can be easily configured by mentioning the “type” directive within the service configuration file.

type: LoadBalancer

Once the service is deployed, the IP can be seen adjacent to “LoadBalancer Ingress” using kubectl describe services

Ingress basically allows outside internet traffic to kube cluster. Via ingress http traffic via port 80 & 443 can be allowed to enter the kube cluster and vice-versa. This further can be used for load balancing, front-end hosting, terminating SSL/TLS.

Internet -> Ingress -> Services (Kube cluster).

Ingress can be easily configured by mentioning the “type” directive within the service configuration file.

type: LoadBalancer

Once the service is deployed, the IP can be seen adjacent to “LoadBalancer Ingress” using kubectl describe services



Your Answer

Interviews

Parent Categories