kubernetes

Generate and validate Kubernetes manifests for deployments, services, and RBAC.

53|1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/cosmix/claude-code-setup --skill kubernetes-cosmix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes
Source: https://github.com/cosmix/claude-code-setup/tree/main/skills/kubernetes
Command: npx skills add https://github.com/cosmix/claude-code-setup --skill kubernetes-cosmix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides designing manifests, deployments, services, and cluster resources, plus best practices for reliability and scalability in Kubernetes.

Core Features & Use Cases

  • Deployments, Services, RBAC: Core building blocks and security.
  • Health Probes & Rolling Updates: Liveness/readiness and safe updates.
  • Observability: Labels, annotations, and metrics scraping.
  • Use Case: Deploy a multi-service application with proper health checks and rolling updates.

Quick Start

Create a basic Deployment and Service manifest and apply with kubectl.

Frequently Asked Questions about kubernetes

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

FAQPage Schema
How do I design and deploy Kubernetes manifests for production?

Kubernetes manifests define containerized applications declaratively. Design production-ready deployments by specifying resource limits, health probes (liveness and readiness), rolling update strategies, and services for networking. Use kubectl to apply manifests across namespaces, ensuring high availability and safe updates.

What's the best way to configure services and ingress in Kubernetes?

Services expose Pods internally or externally; Ingress routes external traffic to services. Configure services by selecting Pod labels and defining ports. Ingress rules map hostnames and paths to services, enabling multi-tenant and multi-environment routing without redeploying workloads.

How do I enforce RBAC and manage secrets in Kubernetes clusters?

Role-based access control (RBAC) restricts who can perform actions on resources. Define Roles, ClusterRoles, and Bindings to enforce least-privilege access. Secrets store sensitive data (credentials, tokens) separately from manifests and inject them into Pods at runtime securely.

Can I use Helm or Kustomize to template and manage Kubernetes configurations?

Helm packages Kubernetes manifests as reusable charts with parameterized values; Kustomize overlays manifests for environment-specific configurations. Both tools reduce duplication, enforce organizational policies, and validate configurations before deployment across multi-environment clusters.

What health checks and rolling update strategies should I implement?

Liveness probes restart failed containers; readiness probes route traffic only to healthy Pods. Rolling updates gradually replace old Pods with new ones, minimizing downtime. Together, they ensure reliable deployments and automatic recovery from transient failures.

How do I set up observability with labels, annotations, and metrics in Kubernetes?

Labels organize resources by environment, service, and tier; annotations store metadata for tooling. Configure Prometheus scrape targets and add metric endpoints to Pods to collect performance data. This enables monitoring, alerting, and cost tracking across namespaces and clusters.