Prepare Your Environment to Work with Admission Controllers and Terraform

1.5 hours
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, you will prepare your environment to enable you to work with Kubernetes admission controllers and Terraform. You will install the tools you need, as well as take the provided Terraform configuration and deploy an EKS cluster that you will then use to create your admission controllers.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Homebrew
  1. Go to the Homebrew website, and copy the install command.
  2. Install Homebrew.
  3. Follow the instructions in the command line to complete the install.
  4. Confirm that you have successfully installed Homebrew.
Install Needed Tools
  1. Install the AWS CLI.
  2. Install the Kubernetes CLI.
  3. Install Terraform.
Deploy EKS Cluster
  1. Create a new access key in the AWS Management Console, and copy down your information.
  2. Clone the course repo.
  3. Move into the eks directory.
  4. Initialize your working directory.
  5. Apply the Terraform configuration.

    Note: This will take 10–15 minutes.

  6. Configure the Kubernetes CLI to interact with your EKS cluster.
  7. Confirm you are connected to your cluster.

Additional Resources

In this lab, you are being asked to set up an environment where you can start developing a custom Kubernetes admission controller that you will deploy with Terraform. The Kubernetes cluster chosen for this is EKS. You will need to install the AWS CLI, Kubernetes CLI, and Terraform. You will take the provided Terraform configuration and use Terraform to then deploy the EKS cluster so you are ready to start your admission controller development. To install the tools needed, you are being asked to use Homebrew. Use the instructions on their website to install Homebrew.

Lab Resources

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?