Kubernetes - Networking
You want to allow all pods in namespace 'frontend' to access pods labeled 'role=db' only on port 5432 TCP, but block all other traffic. Which NetworkPolicy YAML snippet correctly achieves this?
role: db and allow ingress only from pods in namespace 'frontend'. This requires namespaceSelector with correct label key.kubernetes.io/metadata.name.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions