domains / families / security / implementing-network-policies-for-kubernetes

implementing-network-policies-for-kubernetes

separate

Writes portable upstream Kubernetes NetworkPolicy YAML - default-deny-all, DNS egress, namespace and pod selector rules - that works on any conformant CNI such as Calico or Cilium. Use when segmentation must stay CNI-portable, introducing a default-deny posture, or restricting east-west traffic between pods and namespaces without depending on a vendor CRD. Keywords: NetworkPolicy, default deny, podSelector, namespaceSelector, ingress, egress, CNI portable. Do not use for Calico-specific resources - use implementing-kubernetes-network-policy-with-calico.

When to use

When not to use

Skill page

Source

RepositoryPath
mukul975/Anthropic-Cybersecurity-Skillsskills/implementing-network-policies-for-kubernetes/SKILL.md