managing-k8s-network-policies

Installation
SKILL.md

Kubernetes NetworkPolicy Skill

Manage and analyze NetworkPolicies for network segmentation and security.

MANDATORY: Discovery-First Pattern

Always list NetworkPolicies and check CNI support before analyzing coverage.

Phase 1: Discovery

#!/bin/bash

echo "=== NetworkPolicies (all namespaces) ==="
kubectl get networkpolicies --all-namespaces -o custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name,POD-SELECTOR:.spec.podSelector.matchLabels,POLICY-TYPES:.spec.policyTypes[*]' 2>/dev/null | head -20
Installs
1
GitHub Stars
6
First Seen
Apr 12, 2026
managing-k8s-network-policies — cloudthinker-ai/cloudskills