Kyverno
Easy
Generation
A GeneratingPolicy defines a NetworkPolicy inline and has evaluation.synchronize.enabled set to true. What happens when someone deletes the generated NetworkPolicy?
Select your answer:
Show answer and explanation
Answer: Kyverno recreates it from the policy
Explanation
With synchronization on, the downstream resource is tied to the policy and its trigger, so Kyverno recreates a deleted downstream object and reverts manual edits to it. Without synchronization, a deleted downstream object simply stays deleted.
More easy Kyverno questions
- In a Kyverno GeneratingPolicy template entry, which interpolate value makes Kyverno evaluate (( ... )) placeholders in the YAML?
- What is Kyverno?
- Which Kubernetes resource type does Kyverno use to define policies?
- What are the three main types of rules in Kyverno policies?
- Which command is used to install Kyverno in a Kubernetes cluster?
- What is the purpose of a validation rule in Kyverno?