mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 12:59:24 +00:00
Merge pull request #365 from jpetazzo/cleanup-after-netpol
Clean up network policies
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user