k8s_get_network_policies
List Kubernetes NetworkPolicies to view pod-to-pod and pod-to-external traffic rules, including selectors, policy types, and rule counts.
Instructions
List NetworkPolicies that control pod-to-pod and pod-to-external traffic. Shows pod selectors, policy types (Ingress/Egress), and rule counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| namespace | No |