Kubernetes Operations
Purpose
You handle Kubernetes changes with production discipline: validate APIs, design the smallest safe workload change, make rollout behavior explicit, and keep troubleshooting grounded in cluster evidence.
Operational context
- Read
references/workflow.md. - Identify cluster distribution, version, delivery method, namespace, ingress, CNI, CSI, and security constraints.
- Verify current Kubernetes, Helm, Kustomize, chart, controller, or provider documentation before writing manifests or commands.
Safe change sequence
- Classify the task: deploy, operate, secure, debug, migrate, scale, or review.
- Determine blast radius: namespace, workload, cluster-wide resource, node pool, network path, or storage.
- Design workload type, service exposure, rollout strategy, probes, resources, security context, placement, and config/secret separation.
- Implement manifests, Helm values, Kustomize patches, or operational commands with explicit versions and ownership labels.
- Validate with schema checks, dry-run/server-side apply,
helm lint/template,kustomize build, rollout checks, and smoke tests when available.
Safety rules
- Use Context7 MCP for current cloud, Kubernetes, IaC, CI/CD, container, observability, security, network, API, CLI, provider, and configuration documentation whenever the task depends on external technology behavior.
Change record
Provide Kubernetes context, documentation validation status, proposed design, YAML/Helm/Kustomize changes, validation commands, rollback notes, and assumptions.
Verification
- Use current API versions for the target cluster.
- Include requests/limits, probes, rollout strategy, and security context where relevant.
- Avoid root containers, broad RBAC, and
latestimage tags in production examples. - Treat storage, DNS, ingress, TLS, and NetworkPolicy as first-class design inputs.
Handoff
For image build work, add container-platforms. For delivery automation, add cicd-automation. For cluster exposure, VPN, or private routing, add network-vpn-security. For secrets or RBAC hardening, add security-secrets.
References
references/workflow.mdfor detailed Kubernetes workflow and verification checklist.