infra-kubernetes-application-deployment

Create validated Kubernetes manifests with probes, secrets, service routing, and rollout safety.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/FernanSuoza/AIDD-project-bootstrap --skill infra-kubernetes-application-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-kubernetes-application-deployment
Source: https://github.com/FernanSuoza/AIDD-project-bootstrap/tree/main/templates/skills/infra-kubernetes-application-deployment
Command: npx skills add https://github.com/FernanSuoza/AIDD-project-bootstrap --skill infra-kubernetes-application-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating production-ready Kubernetes manifests is error-prone and time-consuming, especially when balancing controller selection, probes, resource sizing, security contexts, service routing, and safe rollouts. This Skill reduces manual mistakes and enforces best-practice defaults so teams can deliver application workloads that are observable, secure, and resilient.

Core Features & Use Cases

  • Controller selection & workload patterns: guidance for Deployment, StatefulSet, DaemonSet, Job, and CronJob with examples of appropriate usage.
  • Probes, lifecycle, and graceful shutdown: recommended startup, readiness, and liveness probe settings plus termination and preStop guidance to avoid disruption.
  • Security, RBAC, and least privilege: service account patterns, securityContext recommendations, capability drops, and role bindings.
  • Networking & service routing: Service types, Ingress patterns, cert-manager TLS automation, and DNS considerations.
  • Rollouts and resilience: rollout strategies, PDBs, maxSurge/maxUnavailable tuning, resource requests/limits, and validation commands.
  • Use Case: Prepare manifests and rollout instructions for a stateless API service with readiness/liveness probes, resource constraints, Service+Ingress, and PodDisruptionBudget.

Quick Start

Generate Kubernetes manifests for the orders service including Deployment, Service, ConfigMap and Secret references, readiness and liveness probes, resource requests, and a rolling update strategy.

Frequently Asked Questions about infra-kubernetes-application-deployment

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

FAQPage Schema
How do I create production-ready Kubernetes manifests for a stateless API?

Kubernetes manifests for reliable deployments require configuring appropriate controllers, startup and readiness probes, resource sizing, security contexts, and service routing to ensure workloads are observable, secure, and resilient during rollouts.

When do I need a StatefulSet versus a Deployment in Kubernetes manifests?

You need a StatefulSet versus a Deployment in Kubernetes manifests when your application requires stable network identities, persistent storage, or ordered rollout and scaling, whereas Deployments suit stateless workloads with rolling updates.

How do I configure graceful shutdown and preStop hooks in Kubernetes?

Configure graceful shutdown and preStop hooks in Kubernetes by defining termination commands in your manifest lifecycle section, ensuring traffic drains properly before the container terminates to avoid disruption during rollouts.

What is the best way to set up Kubernetes security contexts and RBAC?

The best way to set up Kubernetes security contexts and RBAC is by applying least privilege principles, using dedicated service accounts, dropping unnecessary capabilities, and binding roles to limit workload permissions.

Can I automate TLS certificate management with cert-manager and Ingress?

Yes, you can automate TLS certificate management with cert-manager and Ingress by defining cert-manager annotations and TLS secrets in your Kubernetes manifests to handle certificate provisioning and renewal.

How do I tune maxSurge and maxUnavailable for a safe rolling update strategy?

Tune maxSurge and maxUnavailable for a safe rolling update strategy by adjusting these parameters in your Deployment manifest alongside PodDisruptionBudgets to control the rate of pod replacement and maintain availability.