Skip to content
Back to skills

Forge Kubernetes Deploys

ASecurity

Change Kubernetes manifests and Helm charts safely: probes, resources, rollouts, security context and dry runs

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentskubernetesgitdatabasesecurity

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-kubernetes-deploys --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Kubernetes Deploys?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Kubernetes Deploys
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-kubernetes-deploys/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-kubernetes-deploys)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.