Network Policies & Security

Automate Kubernetes ingress and egress rules with Calico and Cilium.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/vertivolatam/monorepo --skill network-policies-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Network Policies & Security
Source: https://github.com/vertivolatam/monorepo/tree/main/skills/system-reliability-engineering/network-policies-security
Command: npx skills add https://github.com/vertivolatam/monorepo --skill network-policies-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kubernetes, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the critical need to control and secure network traffic within Kubernetes clusters, preventing unauthorized access and ensuring data integrity.

Core Features & Use Cases

  • Network Segmentation: Implement micro-segmentation using Kubernetes Network Policies to isolate pods and namespaces.
  • Traffic Control: Define granular ingress and egress rules to allow only necessary communication between services.
  • Security Tools Integration: Leverage tools like Calico and Cilium for advanced policy enforcement and threat detection.
  • Use Case: Secure a multi-tenant Kubernetes environment by ensuring that pods in one tenant's namespace cannot communicate with pods in another, except for explicitly allowed API endpoints.

Quick Start

Use the network policies skill to implement a default deny-all policy for the 'production' namespace.

Frequently Asked Questions about Network Policies & Security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Kubernetes network policies to isolate pods in a multi-tenant environment?

Kubernetes network policies isolate pods by implementing micro-segmentation and default deny-all rules. You can define granular ingress and egress rules to ensure pods in one tenant's namespace cannot communicate with another, except for explicitly allowed API endpoints.

What is the best way to enforce ingress and egress traffic control in Kubernetes?

Ingress and egress traffic control in Kubernetes is best enforced by defining granular network policies that allow only necessary communication between services. This ensures data integrity and prevents unauthorized access within the cluster.

Does this Skill support advanced network policy enforcement with Calico and Cilium?

Yes, this Skill supports advanced network policy enforcement using Calico and Cilium. It leverages these tools for advanced policy enforcement, threat detection, and implementing security best practices within your Kubernetes cluster.

How do I set up a default deny-all network policy for a production namespace?

To set up a default deny-all network policy for a production namespace, you apply a Kubernetes network policy that blocks all incoming and outgoing traffic. You then define specific ingress and egress rules to allow only necessary service communication.

Do I need a specific Kubernetes network plugin to use network segmentation features?

You need a Kubernetes cluster and a compatible network plugin like Calico or Cilium to use network segmentation features. These tools provide the advanced policy enforcement and threat detection capabilities required to implement micro-segmentation and secure traffic.