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

Helm, Medium (Advanced), Commands. https://k8wiz.com/uquiz/what-is-the-purpose-of-the-helm-upgrade-install-flag-combination

- A. To force reinstallation of a release
- B. To upgrade a release only if it already exists
- C. To install a release if it doesn't exist, or upgrade it if it does
- D. To install a release and then immediately upgrade it

**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.
