Last updated
Last updated
A key aspect of providing an application means sharing with others. Sharing can be direct counsumption (by users or in CI/CD pipelines) or as a dependency for other charts. If people can't find your app then they can't use it.
A means of sharing is a chart repository, which is a location where packaged charts can be stored and shared. As the chart repository only applies to Helm, we will just look at the usage and storage of Helm charts.
Helm charts can be available on a remote repository or in a local environment/repository. The remote repositories can be public like or , or hosted repositories like on Google Cloud Storage or GitHub. Refer to for more details. You can learn more about the structure of a chart repository by examining the in this lab.
In this part of the lab, we show you how to install the guestbook
chart from the .
Check the repositories configured on your system:
The output should be similar to the following:
Note: Chart repositories are not installed by default with Helm v3. It is expected that you add the repositories for the charts you want to use. The provides a centralized search for publicly available distributed charts. Using the hub you can identify the chart with its hosted repository and then add it to your local respoistory list. The like Helm v2 is in "maintenance mode" and will be deprecated by November 13, 2020. See the for more details.
Add helm101
repo:
Should generate an output as follows:
You can also search your repositories for charts by running the following command:
Install the chart
As mentioned we are going to install the guestbook
chart from the . As the repo is added to our local respoitory list we can reference the chart using the repo name/chart name
, in other words helm101/guestbook
. To see this in action, you will install the application to a new namespace called repo-demo
.
If the repo-demo
namespace does not exist, create it using:
Now install the chart using this command:
The output should be similar to the following:
Check that release deployed as expected as follows:
This lab provided you with a brief introduction to the Helm repositories to show how charts can be installed. The ability to share your chart means ease of use to both you and your consumers.