Welcome to the Linux Foundation Forum!

Lab 11.2. Is it possible to connect AWS Loadbalancer to ingress cotroller's service?

Is it possible to connect AWS Loadbalancer to ingress cotroller's service having AWS EC2 instances as CP and worker nodes and Kates installed via kubeadm? (not EKS)

Because in this lab we have EXTERNAL IP in constantly pending state:

ubuntu@k8scp:~$ kubectl get svc myingress-ingress-nginx-controller
NAME                                 TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
myingress-ingress-nginx-controller   LoadBalancer   10.103.55.79   <pending>     80:31269/TCP,443:31271/TCP   42m

It means that we can use only Ingress Controller's Node Port to connect to our applications from outside, what, in turn, means that we can use only 30000-32767 port range for connection and it is not something that we can call secure, because we get direct access to Kuber nodes.

NOTE: I understand that this is possible using AWS EKS, but question is about EC2 instances with Kates installed by kubeadm.

Answers

Categories

Upcoming Training