Cluster Setup
15% of the examWhat this topic covers
Secure cluster entry points with NetworkPolicies, Ingress controls, and protected node metadata. Check Kubernetes components against the CIS benchmark and verify platform binaries before deployment.
Does a NetworkPolicy listing only Egress restrict incoming traffic to selected pods?
No. A NetworkPolicy isolates only the pods its podSelector selects, and only for the policy types listed in policyTypes. If policyTypes lists just Egress, incoming traffic to those pods stays open while their outgoing traffic follows the rules.