Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Kubernetes Deploys?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-kubernetes-deploys)
---
name: forge-kubernetes-deploys
description: "Change Kubernetes manifests and Helm charts safely: probes, resources, rollouts, security context and dry runs"
---
<!-- Generated from catalog/skills/kubernetes-deploys/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Kubernetes deploys
Use when editing manifests, Helm charts or Kustomize overlays.
## Every workload needs
- `resources.requests` (and memory `limits`) sized from real usage.
- `readinessProbe` (gates traffic) and `livenessProbe` (restarts) that check different things; a liveness probe that depends on the database will restart healthy pods during an outage. Use `startupProbe` for slow starts.
- A rolling update strategy with `maxUnavailable` chosen deliberately, and a `PodDisruptionBudget` for services with more than one replica.
- Graceful shutdown: handle `SIGTERM`, and set `terminationGracePeriodSeconds` longer than your longest request.
## Security
- `securityContext`: `runAsNonRoot: true`, `readOnlyRootFilesystem: true` where possible, `allowPrivilegeEscalation: false`, drop all capabilities.
- Secrets from Secret objects or an external secret manager, never in ConfigMaps or images. Least-privilege ServiceAccounts and RBAC.
- Pin image tags or digests; never deploy `:latest`.
## Change process
1. Render and diff before applying: `helm template` / `kustomize build`, then `kubectl diff -f -`.
2. Validate: `kubectl apply --dry-run=server` against the cluster, plus `kubeconform` or the repo's policy checks.
3. Apply through the repo's pipeline (GitOps or CI), not ad hoc from a laptop, unless the user asks.
4. Watch the rollout (`kubectl rollout status`) and know the rollback (`kubectl rollout undo` or reverting the commit).
Never run `kubectl delete` or apply to production without explicit user confirmation.
## Verify
`kubectl apply --dry-run=server` (or `helm template` plus a schema check) passes, and `kubectl rollout status` shows the rollout completing in a non-production cluster.