I have kubeadm and Kubernetes v1.12 without AWS or Google Cloud.
I want to know if the Kubernetes cluster installed already has an ingress controller and if it has two what is the default.
Thanks :)
Ingress Controllers. Kubernetes as a project currently maintains GLBC (GCE L7 Load Balancer) and ingress-nginx controllers. With the exception of GKE, which includes GLBC by default, ingress controllers must be installed separately prior to usage.
If you need to determine the version of the nginx ingress controller deployed, then you can invoke the ingress controller binary with the '–version' flag. But this binary is located in the ingress-nginx-controller pod, so do a 'kubectl exec' like below.
You can check for pods implementing ingress controllers (actually with ingress in the name) with:
kubectl get pods --all-namespaces | grep ingress
And services exposing them with:
kubectl get service --all-namespaces | grep ingress
As @Prafull Ladha says, you won't have an ingress controller by default. The documentation states that in "environments other than GCE/Google Kubernetes Engine, you need to deploy a controller as a pod".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With