Skip to content
Back to skills

Kubernetes Deploys

ASecurity

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

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentkubernetesgitdatabasedevopssecurity

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill kubernetes-deploys --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kubernetes Deploys?

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

Security grade badge for Kubernetes Deploys
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-kubernetes-deploys/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-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
---
description: Change Kubernetes manifests and Helm charts safely: probes, resources, rollouts, security context and dry runs
profile: standard
tags: kubernetes, devops, deploy
---

# 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` plus `topologySpreadConstraints` (or pod anti-affinity) 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`.
- Restrict east-west traffic with a default-deny `NetworkPolicy` plus explicit ingress/egress allows.

## 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.

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 development →

Comments

Loading comments…

Newsletter

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