Skip to content

Infrastructure security ยท Technology guides

Kyverno: policy deployment, audit and maintenance

Kyverno applies rules to Kubernetes resources. Before a policy blocks releases, teams need to understand the impact on existing applications and agree who may authorize exceptions.

Deploying the engine and rules

Start with concrete requirements, such as permitted image sources or workload characteristics. Test policies against expected and unwanted manifests before planning the move from reporting to enforcement.

Keep policies under version control so teams can connect a rule change to newly reported or rejected deployments.

Explore deployment services

Auditing policies and exceptions

Review which resources a rule covers, what it excludes and why exceptions exist. Interpret a reported violation in the context of the application owner rather than assuming it means the application should be disabled.

Useful findings include an owner, scope and test scenario per rule, plus justification and a review date for exceptions.

Explore audit services

Maintaining Kyverno

Test changes against known manifests before rolling out to more clusters. When a new policy blocks a release, reproduce the decision on the relevant resource and correct the rule or agree a narrowly scoped exception.

Explore maintenance services

Official documentation

Discuss your infrastructure

Choose a deployment, audit or maintenance scope for your environment. HLS works remotely with teams across Poland.

Service catalog