Difference between revisions of "Kubectl get networkpolicy"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{Kubernetes networking}} Category:K8s") |
|||
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 | ||
== See also == | == See also == | ||
+ | * {{kubectl get}} | ||
* {{Kubernetes networking}} | * {{Kubernetes networking}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Revision as of 16:32, 9 July 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
See also
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: