Accessing the Cluster: Adding the Load Balancer

In this lesson, we will start with the creation of resources based on a kops add-on file and then verify the addition of a new load balancer to our cluster.

kops Add-Ons

kops has a solution for the addition of a load balancer. We can use kops’ add-ons to deploy additional core services. You can get the list of those currently available by exploring directories here. Even though most of them are useful, we’ll focus only on the task at hand.

Add-ons are, in most cases, Kubernetes resources defined in a YAML file. All we have to do is pick the addon we want, choose the version we prefer, and execute kubectl create.

We’ll create the resources defined in ingress-nginx version v1.6.0.

Creating Resources

We won’t go into details behind the definition YAML file we are about to use to create the resources kops assembled for us. Instead, we’ll proceed with kubectl create.

Get hands-on with 1200+ tech skills courses.