Install-or-Upgrade with --install
The idempotent upgrade -i pattern for automation.
The Chicken-and-Egg Problem
Plain helm upgrade fails if the release does not exist yet. In automation you often cannot be sure whether it is the first run or the tenth.
Meet --install
The --install flag fixes this: upgrade the release if it exists, otherwise install it fresh. One command covers both cases.
helm upgrade --install my-app bitnami/nginxAll lessons in this course
- Apply Changes with helm upgrade
- Install-or-Upgrade with --install
- Reviewing helm history
- Reverting with helm rollback