Difference between revisions of "Kubectl describe networkpolicy"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
Annotations: <none> | Annotations: <none> | ||
Spec: | Spec: | ||
− | PodSelector: app=elasticsearch-master | + | [[PodSelector:]] app=elasticsearch-master |
Allowing ingress traffic: | Allowing ingress traffic: | ||
To Port: 9300/TCP | To Port: 9300/TCP | ||
Line 21: | Line 21: | ||
Policy Types: Ingress, Egress | Policy Types: Ingress, Egress | ||
+ | == See also == | ||
+ | * {{kubectl networkpolicy}} | ||
+ | * {{kubectl describe}} | ||
− | + | [[Category:K8s]] |
Latest revision as of 12:38, 26 September 2023
kubectl describe networkpolicy
Name: prod.elasticsearch.allow-node-traffic Namespace: prod Created on: 2020-04-06 15:39:07 +0200 CEST Labels: app=elasticsearch chart=elastic-networkpolicy-1.0.0 heritage=Tiller release=elasticsearch-prod-networkpolicy Annotations: <none> Spec: PodSelector: app=elasticsearch-master Allowing ingress traffic: To Port: 9300/TCP From: PodSelector: app=elasticsearch-master Allowing egress traffic: To Port: <any> (traffic allowed to all ports) To: <any> (traffic not restricted by destination) Policy Types: Ingress, Egress
See also[edit]
kind: NetworkPolicy, kubectl [ get | describe ] networkpolicy
, Weave Netkubectl describe [ nodes | pods | deployment | pv | pvc | secrets | configmaps | networkpolicy | job ]
Advertising: