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:
- Reads the
dependenciessection inChart.yaml - Downloads each chart from its repository
- Stores them as
.tgzfiles in thecharts/directory - Creates a
Chart.lockfile 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 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!
Unlock now  $15.99$11.99Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
