Kyverno
Easy
Policies
What is the difference between a ClusterPolicy and a Policy in Kyverno?
Select your answer:
Show answer and explanation
Answer: ClusterPolicy applies to all namespaces, while Policy applies to a specific namespace
Explanation
A ClusterPolicy in Kyverno applies to resources across all namespaces in the cluster, while a Policy applies only to resources in the same namespace as the Policy itself.
More easy Kyverno questions
- Which of the following is NOT a valid rule type in a Kyverno policy?
- Which command is used to generate a policy from a resource?
- Which command is used to check if Kyverno is ready in a Kubernetes cluster?
- Which apiVersion does a Kyverno CLI kyverno-test.yaml file use?
- What does kyverno test do when an actual policy result doesn't match the expected one?
- In a kyverno-test.yaml file, which expected result do you write for a resource the policy should block?