You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kubectl get networkpolicy -o yaml restrict-cross-ns-traffic -n hs1
190
+
kubectl get networkpolicy -o yaml restrict-cross-ns-traffic -n hs2
188
191
```
189
192
193
+
194
+
You should see that each policy’s ingress section now includes a rule that uses a namespaceSelector matching the other namespace (using the label `kubernetes.io/metadata.name`).
You should see that each policy’s ingress section now includes a rule that uses a namespaceSelector matching the other namespace (using the label `kubernetes.io/metadata.name`).
0 commit comments