Home > Enterprise >  Why does deploying a Kong ingress controller auto provisions a Azure load balancer in Azure Openshif
Why does deploying a Kong ingress controller auto provisions a Azure load balancer in Azure Openshif

Time:08-29

I have created an Openshift cluster where my pods and services are running. Before creating an ingress, i deployed a Kong ingress controller that auto provisioned a Azure load balancer.

enter image description here

From my understanding, Kong uses Nginx that can be configured to be used as a load balancer itself. Why does it need a Load balancer to be provisioned by Cloud infrastructure on which kubernetes cluster is running?

CodePudding user response:

You might have deployed the Kong Ingress controller with the service type : LoadBalancer

LoadBalancer service type is mainly use to expose the Kubernetes service using LB of Cloud provider.

ref : https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer

You can change the Kong service type to ClusterIP and it will as expected it will forward the request.

  • Related