This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
automatizace:kubernetes [2022/02/18 16:42] tomas [Kubectl] |
automatizace:kubernetes [2022/02/18 16:45] tomas [Kubectl] |
||
---|---|---|---|
Line 91: | Line 91: | ||
==network policies== | ==network policies== | ||
- | kubectl get networkpolicy -n namespace | + | kubectl get networkpolicy -n namespace |
- | kubectl delete networkpolicy default-deny-all -n namespace | + | kubectl describe networkpolicy Policy1 -n namespace ... popis sitovych pravidel\\ |
+ | kubectl edit netpol access-nginx -n default ... editace sitovych pravidel\\ | ||
+ | KUBE_EDITOR=' | ||
+ | kubectl delete networkpolicy default-deny-all -n namespace | ||