Comprehensive Kubernetes deployment and scaling for containerized applications, from simple hello-world deployments to production-grade systems with autoscaling, security, and monitoring. Use when deploying, scaling, and managing containerized applications on Kubernetes clusters, including resource management, health checks, security policies, and production best practices.
This skill provides comprehensive support for deploying and scaling containerized applications on Kubernetes, from simple hello-world deployments to production-grade systems with autoscaling, security, and monitoring.
Understanding how Kubernetes maintains desired state through its control plane components and reconciliation loop is essential for effective deployments.
The reconciliation loop is the core mechanism that ensures desired state matches actual state:
User Action → API Server → etcd (Store Desired State)
↓
Scheduler Watches → Finds Suitable Node → Updates Pod Spec
↓
Kubelet Watches → Receives Pod Assignment → Starts Containers
↓
Controller Watches → Monitors Actual State → Adjusts as Needed
↓
Status Updates → API Server → etcd (Store Current State)
nodeName=""nodeName="node-1"RunningUse this skill when you need to:
Before using this skill, verify your Kubernetes setup:
# Check kubectl version
kubectl version --client
# Verify cluster access
kubectl cluster-info
# Check available nodes
kubectl get nodes
# Test basic functionality
kubectl run test-pod --image=nginx --dry-run=client -o yaml
For a simple application deployment:
apiVersion: apps/v1