devton/agentic-workflow-blueprint/implementing-network-policies-for-kubernetes

Claude Code and agent skill by devton/agentic-workflow-blueprint

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install devton/agentic-workflow-blueprint/implementing-network-policies-for-kubernetes

SKILL.md

agentic-workflows-blueprint.workflow.implementing-network-policies-for-kubernetes

Goal

Implement Kubernetes NetworkPolicies that enforce zero-trust segmentation with deterministic validation and rollback-safe rollout controls.

Scope
  • Applies to: namespace/workload ingress-egress policy design and enforcement in Kubernetes clusters with compatible CNI.
  • Does not cover: perimeter firewall management outside Kubernetes networking scope.
Triggers
  • "Implement Kubernetes NetworkPolicies"
  • "Apply default deny and allow-list traffic"
  • "Segment workloads with least-privilege network access"
  • "Block metadata endpoint and lateral movement"
Inputs
  • clusterContext: target cluster and environment tier
  • targetNamespaces: namespaces in scope
  • cniProvider: Calico, Cilium, Antrea, or equivalent
  • serviceFlowMap: expected workload-to-workload and workload-to-external traffic matrix
  • changeWindow (optional): maintenance window for production rollout
  • rollbackPlan: rollback procedure for policy changes
Invariants
  • Default-deny stance is the baseline for protected namespaces unless explicitly exempted.
  • Allow rules must be minimal and tied to explicit service flows.
  • DNS and control-plane dependencies must be explicitly preserved.
  • Cloud metadata endpoints must remain blocked for untrusted workloads.
  • Validation commands must prove both blocked and allowed paths before closure.
Procedure
  1. Baseline and discovery
  • Inventory namespace/workload labels and communication dependencies.
  • Build/verify serviceFlowMap before writing rules.
  1. Apply default-deny foundation
  • Create ingress+egress deny-all policy for each target namespace.
  • Confirm workloads are isolated before selective allow rules.
  1. Allow mandatory platform traffic
  • Add DNS egress and any platform-critical control traffic explicitly.
  • Validate service discovery continues to operate.
  1. Implement application-specific allow rules
  • Define podSelector/namespaceSelector rules for allowed app flows.
  • Restrict ports/protocols to least-privilege values only.
  1. Add cross-namespace and egress controls
  • Allow only required observability and shared-service ingress.
  • Restrict external egress with explicit CIDR/port allow-list.
  1. Block metadata endpoint access
  • Enforce egress exclusions for known cloud metadata addresses.
  • Validate SSRF-style metadata access is blocked.
  1. Validate behavior
  • Run connectivity tests proving denied paths fail.
  • Run connectivity tests proving required paths succeed.
  • Capture test outputs as evidence.
  1. Rollout and rollback readiness
  • Promote policies by environment with monitored checkpoints.
  • If a critical dependency breaks, execute rollback immediately.
Outputs
  • Versioned NetworkPolicy manifests per namespace/application.
  • Validation report with blocked/allowed traffic evidence.
  • Change summary including known exceptions and risk notes.
  • Rollback execution note (if used) or rollback readiness confirmation.
Review gate
  • [ ] Default-deny policy exists for each protected namespace.
  • [ ] All allow rules map to explicit documented service flows.
  • [ ] DNS and required platform dependencies remain functional.
  • [ ] Metadata endpoint access is blocked where required.
  • [ ] Validation evidence proves both deny and allow outcomes.
References
  • ../../SKILL.md
  • ../network-engineering/SKILL.md
  • ../review/SKILL.md

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/devton/agentic-workflow-blueprint/implementing-network-policies-for-kubernetes/badge)](https://verified-skill.com/skills/devton/agentic-workflow-blueprint/implementing-network-policies-for-kubernetes)

Something wrong with this skill or its page? Tell us.