k8wiz
Helm
Medium
Commands

What is the purpose of the 'helm upgrade --install' flag combination?

Select your answer:

Show answer and explanation

Answer: To install a release if it doesn't exist, or upgrade it if it does

Explanation

The 'helm upgrade --install' flag combination (sometimes called 'upsert') will install a release if it doesn't already exist, or upgrade it if it does. This is useful for scripts and CI/CD pipelines where you don't want to handle the install and upgrade cases separately.