Shortlist of preparation materials to pass CKS exam
In order to take the CKS exam, you must have Valid CKA certification to demonstrate you possess sufficient Kubernetes expertise. If you do not have passed CKA exam, here you find my learn path for that: CKALearn As firt to understand are you for that exam or not plese try to do that tas: Securing a Cluster of the official K8s documentation.
podSelector: This selects particular Pods in the same namespace as the NetworkPolicy which should be allowed as ingress sources or egress destinations.
Notes:
egress: - to: - ipBlock: cidr: 0.0.0.0/0 except: - 169.254.169.254/32
Main doc (and beyond): https://kubernetes.io/docs/reference/access-authn-authz/