k8s-manifest-generator

Generate Kubernetes manifests for Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/SanketAdlak/PDMProjectDesign --skill k8s-manifest-generator-sanketadlak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-manifest-generator
Source: https://github.com/SanketAdlak/PDMProjectDesign/tree/main/.agents/skills/k8s-manifest-generator
Command: npx skills add https://github.com/SanketAdlak/PDMProjectDesign --skill k8s-manifest-generator-sanketadlak

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Writing Kubernetes YAML manifests by hand is error-prone and time-consuming, with common mistakes like missing resource limits, absent health probes, weak security contexts, and inconsistent labels leading to unstable or insecure deployments. ## Core Features & Use Cases - Guided Manifest Generation: Step-by-step workflow for creating Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims with resource limits, probes, and security contexts built in. - Ready-to-Use Templates: Production-oriented YAML templates for Deployments, Services, and ConfigMaps covering ClusterIP, LoadBalancer, NodePort, and headless service patterns. - Deep Reference Docs: Detailed Deployment and Service specifications covering update strategies, affinity rules, probes, QoS classes, and troubleshooting. - Use Case: You need to deploy a new microservice to production. Use this Skill to generate a zero-downtime Deployment with anti-affinity rules, a ClusterIP Service, and matching ConfigMap and Secret, then validate with kubectl dry-run. ## Quick Start Generate a production-ready Kubernetes Deployment, Service, and ConfigMap for my web application running on port 8080.

Frequently Asked Questions about k8s-manifest-generator

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

FAQPage Schema
How do I create a production-ready Kubernetes Deployment manifest?

A production Deployment needs resource requests and limits, liveness and readiness probes, a specific image tag, and a security context running as non-root. Use the deployment template with 3 replicas, maxUnavailable set to 0, and pod anti-affinity for high availability.

What Kubernetes Service type should I use for my application?

Use ClusterIP for internal microservice communication, LoadBalancer for external public access via cloud providers, NodePort for direct node access in development, and headless Services for StatefulSets. The choice depends on whether traffic originates inside or outside the cluster.

What is the difference between ConfigMap and Secret in Kubernetes?

ConfigMaps store non-sensitive configuration data like environment variables and config files, while Secrets store sensitive data like passwords and TLS certificates. Secrets should never be committed to Git in plain text; use Sealed Secrets, External Secrets Operator, or Vault instead.

How do I validate Kubernetes manifests before applying them?

Run kubectl apply with --dry-run=client or --dry-run=server to validate manifests without applying them. You can also use kubeval, kube-score, or kube-linter for deeper static analysis of best practices and security configurations.

Why are my Kubernetes pods not starting after deployment?

Check pod status with kubectl describe pod to find image pull errors, resource constraints, or failing probes. Review cluster events with kubectl get events and verify that referenced ConfigMaps, Secrets, and namespaces actually exist.