Upgrading the WordPress release
Upgrading a release refers to the process of modifying the release’s values or updating the chart to a newer version. In this section, we will upgrade the WordPress release by adding a couple more values to the installation.
Modifying the Helm values
Oftentimes, when deploying applications to Kubernetes, you will want to run multiple replicas of the application to provide high availability and reduce the load on a single instance. Helm charts often provide some sort of replica-related value for configuring the number of pod replicas to deploy. A quick browse through the output of the helm show values bitnami/wordpress --version 12.1.6
command shows that you can increase WordPress replicas by using the replicaCount
value:
Figure 3.24 – replicaCount in the helm show values command
Add the following line to your wordpress-values.yaml
file to increase the number of replicas from 1
to 2
:
replicaCount: 2
Let...