From e4251cfa8fa3c7e505c7bba9e5522b07140413a7 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Sat, 29 Sep 2018 20:39:32 -0500 Subject: [PATCH] Clean up network policies We should tell people to clean up network policies at the end of the chapter, otherwise further exercises will fail. --- slides/k8s/netpol.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/slides/k8s/netpol.md b/slides/k8s/netpol.md index 54c8f0a8..2bae8155 100644 --- a/slides/k8s/netpol.md +++ b/slides/k8s/netpol.md @@ -371,6 +371,23 @@ troubleshoot easily, without having to poke holes in our firewall. --- +## Cleaning up our network policies + +- The network policies that we have installed block all traffic to the default namespace + +- We should remove them, otherwise further exercises will fail! + +.exercise[ + +- Remove all network policies: + ```bash + kubectl delete networkpolicies --all + ``` + +] + +--- + ## Protecting the control plane - Should we add network policies to block unauthorized access to the control plane?