← ClaudeAtlas

kubernetes-patternslisted

Provides Kubernetes resource management, Helm chart patterns, service mesh configuration, and autoscaling strategies. Covers HPA, VPA, KEDA, operators, security contexts, and namespace isolation. Use when user mentions 'kubernetes', 'k8s', 'helm', 'istio', 'linkerd', 'service mesh', 'HPA', 'VPA', 'KEDA', 'pod security', 'resource quotas', 'operators'.
Tibsfox/gsd-skill-creator · ★ 61 · AI & Automation · score 74
Install: claude install-skill Tibsfox/gsd-skill-creator
# Kubernetes Patterns Best practices for deploying, scaling, securing, and managing workloads on Kubernetes. This skill covers resource management, Helm chart structure, service mesh configuration, autoscaling strategies, and security hardening. ## Resource Management Every container must declare resource requests and limits. Without them, the scheduler cannot make informed placement decisions and nodes can become overcommitted. | Resource Type | Request (Guaranteed) | Limit (Maximum) | What Happens at Limit | |---------------|---------------------|-----------------|----------------------| | CPU | Reserved on node | Throttled (not killed) | Container slows down | | Memory | Reserved on node | OOM-killed | Container restarts | | Ephemeral Storage | Reserved on node | Evicted | Pod removed from node | | GPU | Reserved on node | Hard limit | Cannot exceed | ### QoS Classes Kubernetes assigns QoS classes based on resource declarations. This determines eviction priority. | QoS Class | Condition | Eviction Priority | |-----------|-----------|-------------------| | Guaranteed | requests == limits for all containers | Last (highest priority) | | Burstable | requests < limits for at least one container | Middle | | BestEffort | No requests or limits set | First (lowest priority) | ### Resource Declaration Best Practices ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: api-server namespace: production spec: replicas: 3 selector: matchLabels: app: