taikun.cloud

Taikun Logo

How to enforce policies in Kubernetes with Gatekeeper

In any Kubernetes cluster setup that has been in use for a while, many teams will create their own Kubernetes resources. With an array of required and optional parameters, each team will create and configure them as per their specific needs. At some point, there is bound to be a need for standardisation. Besides, every organisation will have their own governance and legal policies to be enforced. With that in mind, an open-source, general-purpose policy engine was created. Open Policy Agent (OPA, pronounced “oh-pa”) helps IT administrators unify policy enforcement across the stack.