Aan de slagGa gratis aan de slag

Quiz Question 5

You need to apply a network policy to five Pods to block ingress traffic from other Pods. Each Pod has a label of app:demo-app. In your network policy manifest, you have specified the label app:demo-app in spec.podSelector. The policy is configured and listed when you view Network Policies on your cluster. However, it’s not having the intended effect. Pods can still be pinged from other Pods within the cluster. What is the cause of this and what action can you take to correct it?

Deze oefening maakt deel uit van de cursus

Architecting with Google Kubernetes Engine: Workloads

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen