0Pricing
Helm Academy · Lesson

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/nginx

All lessons in this course

  1. Apply Changes with helm upgrade
  2. Install-or-Upgrade with --install
  3. Reviewing helm history
  4. Reverting with helm rollback
← Back to Helm Academy