Investigating Kubernetes Admission Controllers

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Kubernetes provides tools and configuration files that can be used to gain information about the Kubernetes system. In this hands-on lab, you will be tasked with discovering which admission controllers have been enabled or disabled, as well as viewing information about admission controller resources.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

View the Enabled and Disabled Admission Controllers
  • Use a text editor/viewer to check the enabled and disabled admission controllers in the kube-apiserver.yaml file
  • Use the kubectl command to print a description of the kube-apiserver pod and view the enabled/disabled admission controllers
View Information about Resources in the dev Namespace
  • Use the kubectl command to print a detailed description about the LimitRange resource in the dev namespace
  • Use the kubectl command to print a table of information about the LimitRange resource in the dev namespace
    • In addition, view this output in YAML format
View Information about Resources in the test Namespace
  • Use the kubectl command to print a detailed description about the ResourceQuota resource in the test namespace
  • Use the kubectl command to print a table of information about the ResourceQuota resource in the test namespace
    • In addition, view this output in YAML format

Additional Resources

You recently joined the DevOps team at your company and have been tasked with investigating one of the Kubernetes clusters that is used for testing and development. This will require you to determine any additional admission controller that have been enabled and any that have been disabled. Once you determine which admission controllers are enabled, you will need to gain information about the resources that have been created for the dev and test namespaces.

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?