Install Helm Release with Multiple Values Files
Learn how to install and upgrade the Helm release using multiple values.yaml files.
Up until now, we have assumed that we’ll have a single file only, in which we provide information about the properties that should be overridden. But there are some situations (we’ll talk about them a little bit later) in which we’d like to have multiple files or want to mix both approaches,using values.yaml
and the --set
flag. Luckily for us, Helm supports that as well.
Install with multiple values.yaml
files
Let’s test it and use the two approaches. We’ll use the same dashboard.yaml
file and add the --set
flag to change a replicaCount
value to 2
, as follows:
Press + to interact
helm upgrade dashboard kubernetes-dashboard/kubernetes-dashboard -n monitoring --values dashboard.yaml --set replicaCount=2
The output will be as follows:
Release "dashboard" has been upgraded. Happy Helming!
NAME: dashboard
LAST DEPLOYED: Sat Dec 4 16:12:48 2021
NAMESPACE: monitoring
STATUS: deployed
REVISION: 3
TEST SUITE: None
NOTES:
*********************************************************************************
*** PLEASE BE PATIENT: kubernetes-dashboard may take a few minutes to install ***
*************************************
...