helm status: Command Reference for CI/CD
Inspect a release current state, revision, and resources.
helm status reports a release deployment status, its current revision, and the resources it manages. In CI it is the verification read after a deploy and a script-friendly source of the release state. This reference covers its flags.
Common flags and usage
- status <release>: show status, revision, and resources
- -o json|yaml: machine-readable output for CI assertions
- --revision N: show the status of a specific revision
- --show-resources: list the managed Kubernetes objects
- Pair with helm list to enumerate releases in a namespace
Example
shell
STATE=$(helm status web -n prod -o json | jq -r '.info.status')
[ "$STATE" = "deployed" ] || { echo "release not deployed: $STATE"; exit 1; }In CI
Assert on helm status -o json after a deploy to confirm the release reached the deployed state rather than failed or pending-upgrade. The JSON output is stable enough to parse with jq, making status the clean verification read at the end of a deploy job.
Key takeaways
- status -o json gives a parseable release state for CI assertions.
- A healthy release reports status "deployed", not pending or failed.
- --show-resources lists exactly what the release manages.
Related guides
Helm Cheat Sheet: Charts, Releases & UpgradesA Helm cheat sheet - install, upgrade, rollback, template, repo, and dependency commands for managing Kuberne…
helm upgrade: Command Reference for CI/CDReference for helm upgrade: update a release or install it if absent with --install, atomic rollback, --wait…
helm install: Command Reference for CI/CDReference for helm install: install a chart as a release, set values, and use --wait and --atomic so a failed…
helm rollback: Command Reference for CI/CDReference for helm rollback: revert a release to a previous revision, find the target with helm history, the…