Setup Nginx Ingress Controller with Helm Chart on EKS Cluster.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
nginx ingress controller a powerful kubernetes resource that lets you configure an http load balancer for applications running on kubernetes it is used as host based and path based routing hello guys today we will learn about how to setup nginx ingress controller on nps cluster so let's get started [Music] i am at my aws console and let's first check eks service here i have already created one cluster with three nodes let's open up the terminal and check from there to cube ctl get nodes and here you see i have three nodes running now first thing let's install ingress controller i will provide all these commands in the description as well i'm installing it via helm command here i'm doing help upgrade and installing ingress nginx from the official repo that is maintained by kubernetes community you can use this command and hit enter you can use this command and hit enter wait for it to create all the resources once it is done you can verify it through cube ctl get all and specify namespace ingress nginx here we can see that our controller pod is running our services are running with type load balancer and our deployment is running as well now next let's deploy one demo app to verify if our ingress controller is set up correctly i have created one simple sample app here first i'm creating a namespace then i'm creating a service which is targeting to port 80. uh then i'm using ingress which is using our ingress class here i'm giving sample host name and last i'm deploying nginx image now let's go to the terminal and do cube ctl apply and path to the uml file hit enter now let's verify if all the resources are created do cube ctl get all and your namespace here we see that we have two parts running and one service with type cluster ip one deployment and one replica set is also running let's also check the ingress resource do cube ctl get ingress and your name space here we see our address is still empty wait for some time and now you see that our address is populated with the load balancer address let's copy this host and paste it into the browser okay we see here error and we don't yet have created a dns record for this that is the reason we are seeing this error go to the aws console and go to the route 53 service click on hosted zones now if you don't have this you must purchase this i already have one domain uh and click on it and then click on create record here you can give the host name of your website i'm going to copy and paste it from here next foreign on alias and then choose classic load balancer choose your region and then choose the correct load balancer and click on create record now the dns record is created and you can copy the record name and paste it in the host section of ingress and save it and let's deploy it again now do cube city apply and path of your uml file uh let's get the ingress again do cubes it'll get ingress and your namespace now we have a right host and copy this hostname go to the browser and paste it and here you see the welcome page from the nginx tool that we deployed now using the same way you can deploy whatever web apps you want so that's all from this video guys if you have any questions please write in the comment section thank you for watching like and subscribe
Info
Channel: Erog
Views: 14,763
Rating: undefined out of 5
Keywords:
Id: 9EVs5LcaUcs
Channel Id: undefined
Length: 6min 32sec (392 seconds)
Published: Sun Apr 10 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.