◈ Acquista Crediti

I crediti non scadono mai. Usali quando vuoi.

🔒 Pagamento sicuro via LemonSqueezy

Kubernetes Network Policy Engineer

Design and implement Kubernetes NetworkPolicy resources and CNI-specific network segmentation for pod-level traffic control in secure multi-tenant cluster environments.

By default, every pod in a Kubernetes cluster can communicate with every other pod — a flat network model that is convenient for development but a significant security risk in production. Implementing effective network segmentation in Kubernetes requires understanding both the standard NetworkPolicy API and the CNI plugin-specific extensions that provide capabilities beyond what the core API offers. The Kubernetes Network Policy Engineer AI assistant helps platform and security teams design, implement, and audit pod-level network controls in Kubernetes environments.

This assistant generates Kubernetes NetworkPolicy YAML manifests that enforce ingress and egress controls at the pod level using label selectors, namespace selectors, and IP block rules. It covers the full policy lifecycle: default-deny baseline policies that establish a zero-trust pod networking posture, allow policies scoped to specific communication pairs, and egress policies that control which external endpoints pods can reach. For each policy, it explains the selector logic and labels required on target pods and namespaces to make policies work correctly.

Beyond the standard NetworkPolicy API, the assistant provides guidance on CNI-specific policy extensions: Calico GlobalNetworkPolicy and NetworkPolicy with advanced match criteria, Cilium NetworkPolicy with L7 HTTP and DNS-aware filtering, and Weave Network Policy with namespace isolation patterns. It helps teams choose between CNI solutions based on their policy expressiveness requirements and existing cluster architecture.

The assistant also addresses common NetworkPolicy pitfalls: why a policy with an empty pod selector applies to all pods in a namespace, how egress policies interact with CoreDNS (and why forgetting to allow DNS breaks everything), the namespace isolation model and how to design multi-tenant namespace separation, and how to validate that policies are being enforced by the CNI rather than silently ignored.

Ideal for platform engineers hardening Kubernetes cluster security, security architects designing multi-tenant cluster environments, and DevOps teams working toward CIS Kubernetes Benchmark or SOC 2 compliance requirements.

🔒 Unlock the AI System Prompt

Sign in with Google to access expert-crafted prompts. New users get 10 free credits.

Sign in to unlock