Study. uk . com
  1. Home
  2. All questions
  3. Question 262

CKA study material · question 262 of 1000

A NetworkPolicy is applied successfully but traffic is not restricted at all. What is the likeliest cause?

  1. The policy is missing a policyTypes field
  2. The Pods lack the required labels
  3. The API server has NetworkPolicy disabled
  4. The network plugin does not implement NetworkPolicy
Show the answer

Answer: D. The network plugin does not implement NetworkPolicy

The API accepts the object either way; a policy has no effect unless the network plugin implements it.

Source: Network Policies (Kubernetes) — The NetworkPolicy resource

Challenge yourself on this topic → Study as cards