Difference between revisions of "Kubectl get networkpolicy"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} == See also == * {{Kubernetes networking}} Category:K8s")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
kubectl get [[networkpolicy]] -n prod
 +
NAME                                    [[POD-SELECTOR]]              AGE
 +
prod.elasticsearch.allow-apis          app=elasticsearch-master  28h
 +
prod.elasticsearch.allow-node-traffic  app=elasticsearch-master  28h
 +
prod.elasticsearch.deny-all            app=elasticsearch-master  28h
  
 +
[[kubectl get networkpolicy -A]]
 +
 +
== Related ==
 +
* <code>[[kubectl describe networkpolicy]]</code>
 +
* [[Calico]]
  
 
== See also ==
 
== See also ==
 +
* {{kubectl networkpolicy}}
 
* {{Kubernetes networking}}
 
* {{Kubernetes networking}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 15:05, 6 November 2022

kubectl get networkpolicy -n prod
NAME                                    POD-SELECTOR               AGE
prod.elasticsearch.allow-apis           app=elasticsearch-master   28h
prod.elasticsearch.allow-node-traffic   app=elasticsearch-master   28h
prod.elasticsearch.deny-all             app=elasticsearch-master   28h
kubectl get networkpolicy -A

Related[edit]

See also[edit]

Advertising: