Difficulty: intermediate
Estimated Time: 30 minutes

Open policy agent and admissions controllers

This course will teach you how to use Open Policy Agent and Gatekeeper to create Kubernetes validating admissions controllers. This course will also show case a simple mutating admissions controller.

Created by Austin Heiman, Clay Thomas, Cullen McDermott

Thank you for attending our workshop!

You've successfully deployed a few basic Kubernetes cluster policies using OPA Gatekeeper and hopefully you can see how these examples can be extended to real life challenges cluster administrators have to solve for. OPA Gatekeeper is a new and actively developed project that makes implementing these Kubernetes cluster policies easier.

Feel free to share this Katacoda course with others!

More reading on OPA Gatekeeper:

Connect with us

OPA Gatekeeper

Step 1 of 5

Kubernetes cluster overview

Kubernetes is starting up, it may take a few moments. Once the cluster is ready, run some commands with kubectl:

  • kubectl cluster-info
  • kubectl version
  • kubectl get nodes
  • kubectl get namespaces
  • kubectl get pods --all-namespaces

Press continue once ready to move on.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]