Feedback

Chat Icon

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

A Practical Guide to Building Multi-Service Applications with Helm
72%

Building the Chart

Download Dependencies

Once everything is in place, download the chart dependencies using:

helm dependency build $HOME/todowithdb-chart

As a reminder, this command runs the following steps:

  1. Reads the dependencies section in Chart.yaml
  2. Downloads each chart from its repository
  3. Stores them as .tgz files in the charts/ directory
  4. Creates a Chart.lock file that pins exact versions

You can verify the dependency was downloaded:

ls -la $HOME/todowithdb-chart/charts/

You should see the following file:

postgresql-16.4.3.tgz

Lint the Chart

Before packaging, it's good practice to lint the chart to catch common issues:

helm lint $HOME/todowithdb-chart

Expected output:

==> Linting /home/user/todowithdb-chart
[INFO] Chart.yaml: icon is recommended

1 chart(s) linted, 0 chart(s) failed

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