🔥 3-day streak
Certified Kubernetes Administrator (CKA)86 / 125
Question 86 of 125

A namespace called 'payments' currently has no NetworkPolicies. You apply the following policy: apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: restrict namespace: payments spec: podSelector: {} policyTypes: - Ingress After applying this manifest, users report that all pods in the 'payments' namespace can no longer receive any incoming connections, while outbound connections from those pods still work fine. What is the correct explanation of this behavior?

Reviewed for accuracy · Report an issueNext question