Understanding Helm Chart Installation and Management
Understanding Chart Versions and Upgrading Releases
As we have seen before, the general syntax for upgrading a chart is:
helm upgrade [RELEASE_NAME] [CHART] [flags]
But we can also use the upgrade --install or upgrade -i command, which could upgrade an existing release or install it if it does not exist.
helm upgrade --install [RELEASE_NAME] [CHART] [flags]
Let's see an example of how to upgrade a release to a specific chart version. First, we need to find the available versions of the chart we want to install or upgrade. We can do this using the helm search repo command. The general syntax is:
# Add the Bitnami repository if not already added
helm repo add bitnami https://charts.bitnami.com/bitnami
# Find the latest versions of the WordPress chartHelm in Practice
Designing, Deploying, and Operating Kubernetes Applications at ScaleEnroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
