kubectl describe networkpolicy

From wikieduonline
Jump to navigation Jump to search

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]

Advertising: