Helm upgrade: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
helm upgrade jazzy-manta archaeopteryx | helm upgrade jazzy-manta archaeopteryx | ||
Upgrade increments the [[Helm_Concepts#Release_Revision|revision number]]. | |||
To keep a resource from being uninstalled during an upgrade, see [[Helm_uninstall#Keep_a_Resource_from_Being_Uninstalled|helm uninstall - Keep a Resource from Being Uninstalled]]. | |||
=Options= | |||
==<tt>--reuse-values</tt>== | |||
When upgrading, reuse the last release's values and merge in any overrides from the command line via <code>--set</code> and <code>-f</code>. If <code>[[#--reset-values|--reset-values]]</code> is specified, this is ignored. | |||
This is useful when the initial deployment was done with a configuration overlay, and we don't want to specify the same configuration overlay on upgrade. | |||
==<tt>--reset-values</tt>== | |||
See <code>[[#--reuse-values|--reuse-values]]</code> above. |
Latest revision as of 19:57, 9 February 2022
External
- https://helm.sh/docs/helm/#helm-upgrade
- https://helm.sh/docs/using_helm/#helm-upgrade-and-helm-rollback-upgrading-a-release-and-recovering-on-failure
- https://helm.sh/docs/using_helm/#helpful-options-for-install-upgrade-rollback
Internal
Overview
helm upgrade <release-name> <chart-name>
helm upgrade jazzy-manta archaeopteryx
Upgrade increments the revision number.
To keep a resource from being uninstalled during an upgrade, see helm uninstall - Keep a Resource from Being Uninstalled.
Options
--reuse-values
When upgrading, reuse the last release's values and merge in any overrides from the command line via --set
and -f
. If --reset-values
is specified, this is ignored.
This is useful when the initial deployment was done with a configuration overlay, and we don't want to specify the same configuration overlay on upgrade.
--reset-values
See --reuse-values
above.