forge-kubernetes

Generate Kubernetes manifests with pinned images, probes and hardened security settings.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/f4rkh4d/forge-skill --skill forge-kubernetes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forge-kubernetes
Source: https://github.com/f4rkh4d/forge-skill/tree/main/skills/infra/forge-kubernetes
Command: npx skills add https://github.com/f4rkh4d/forge-skill --skill forge-kubernetes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and scripts (resource) and references (resource) components.

What problem does it solve?

Prevents production Kubernetes outages caused by insecure defaults and fragile deployments, such as unpinned images, missing resource limits, absent readiness probes, and missing security hardening.

Core Features & Use Cases

  • Production-grade manifest guardrails for Deployment/Service/NetworkPolicy/PDB authoring, focusing on correctness under real traffic and failure modes.
  • Explicit operational and security configuration including resource requests + memory limits, non-root/read-only securityContext, readiness probes, and least-privilege networking via NetworkPolicy.
  • Ready-to-paste production templates for common workloads (Deployment, Service, PodDisruptionBudget, NetworkPolicy), plus guidance on graceful shutdown and rollout strategy.

Quick Start

Use forge-kubernetes when you write or audit a production Kubernetes manifest so the output includes pinned images, proper resources, readiness probes, hardened security context, and NetworkPolicy.

Frequently Asked Questions about forge-kubernetes

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

FAQPage Schema
How do I harden Kubernetes deployments for production traffic?

To harden Kubernetes deployments for production traffic, you must enforce explicit image immutability by avoiding :latest tags, set required resource requests with memory limits, configure readiness probes, and apply a non-root, read-only securityContext to prevent common default-related failures.

What security defaults cause Kubernetes production outages?

Kubernetes production outages are frequently caused by insecure defaults such as unpinned images, missing resource limits, absent readiness probes, and lacking securityContext hardening, which leave deployments fragile under real traffic and failure modes.

How do I generate production-safe Kubernetes manifests with NetworkPolicy isolation?

Generating production-safe Kubernetes manifests with NetworkPolicy isolation involves authoring least-privilege networking rules alongside Deployment, Service, and PodDisruptionBudget templates that enforce graceful shutdown and safe rollout strategies.

Can I audit existing StatefulSets and DaemonSets for missing resource limits and securityContext?

Yes, you can audit existing StatefulSets and DaemonSets for missing resource limits, unpinned images, and absent securityContext configurations to identify and remediate security gaps before they cause production failures.

Does Kubernetes deployment hardening require PodDisruptionBudget and readiness probes?

Kubernetes deployment hardening requires PodDisruptionBudget and readiness probes to ensure safe rollouts and maintain availability during node drains, preventing traffic from routing to unprepared or terminating pods.

What is the best way to handle secrets in production Kubernetes manifests?

The best way to handle secrets in production Kubernetes manifests is by referencing them via Secret references rather than embedding sensitive data directly, ensuring secure configuration across environments and rollouts.