Tech & DevOps HubEspace Tech & DevOps

Explorez le monde du Dev, du Cloud et des outils DevOps à travers nos articles et discussions Explore the world of development, the cloud and DevOps tools
 FR      EN
Helm
Général
Full cleanup without hooks
helm uninstall myrelease --no-hooks

Deletes the release without executing lifecycle hooks.
Debug release hooks
helm get hooks myapp

Displays all pre and post install/upgrade hooks.
Generate YAML without installing
helm template myrelease bitnami/nginx

Creates YAML manifests for review without deployment.
Restore a deleted release
helm rollback myapp 1

Allows rollback to a previous version.
Uninstall release but keep history
helm uninstall myapp --keep-history

Keeps versions for rollback even after deletion.
Display
Show applied manifests
helm get manifest RELEASE_NAME

Displays the generated Kubernetes manifest.
Show applied values
helm get values myapp

Shows the configuration values used for the release.
Show default chart values
helm show values bitnami/mysql

Displays default values defined in the chart.
List chart versions
helm search repo bitnami/nginx --versions

Shows all available versions of a chart in the repository.
List all releases
helm list -A

Displays all Helm releases across all namespaces. Ideal for multi-environment debugging.
Install
Set inline value
helm install myapp chart/ --set image.tag=latest

Overrides a value without using a file.
Dry-run installation
helm install myapp chart/ --dry-run --debug

Full simulation with debug output.
Install with custom values file
helm install mydb bitnami/postgresql -f custom-values.yaml

Installs PostgreSQL with custom configuration parameters.
Upgrade
Compare releases before upgrade
helm diff upgrade myrelease bitnami/nginx -f values.yaml

Shows differences between the existing release and the update.
Force redeployment
helm upgrade myapp chart/ --force

Recreates resources without changing the version.
Upgrade with automatic rollback
helm upgrade myapp chart/ --atomic

Cancels the upgrade if an error occurs.