Feedback

Chat Icon

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Understanding Helm Chart Installation and Management
39%

Using a Chart with a Custom Configuration File

If you have one or two configurations to define, using the --set flag is a good option. However, if you have tens of values to change, the --set flag can become cumbersome and error-prone. In such cases, it's better to create a custom configuration file (e.g., values.yaml) and use the --values flag to specify it during installation.

helm upgrade -i [RELEASE_NAME] [CHART] --values values.yaml

In our case, if we want to achieve the same configuration as before using a custom values.yaml file, we can create the file with the following content:

cd $HOME && cat < values.yaml
service:
  type: LoadBalancer
  ports:
    http: 8000
    https

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Enroll 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!

Unlock now  $15.99$11.99

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More