Kubernetes on AWS by Ed Robinson

Kubernetes on AWS by Ed Robinson

Author:Ed Robinson [Ed Robinson]
Language: eng
Format: epub, mobi
Tags: COM091000 - COMPUTERS / Cloud Computing, COM088000 - COMPUTERS / System Administration / General, COM011000 - COMPUTERS / Systems Architecture / General
Publisher: Packt
Published: 2018-11-29T16:42:42+00:00


Packaging Helm charts

While we are developing our chart, it is simple to use the Helm CLI to deploy our chart straight from the local filesystem. However, Helm also allows you to create your own repository in order to share your charts.

A Helm repository is a collection of packaged Helm charts, plus an index stored in a particular directory structure on a standard HTTP web server.

Once you are happy with your chart, you will want to package it so it is ready to distribute in a Helm repository. This is simple to do with the helm package command. When you start to distribute your charts with a repository, versioning becomes important. The version number of a chart in a Helm repository needs to follow the SemVer 2 guidelines.

In order to build a packaged chart, start by checking that you have set an appropriate version number in Chart.yaml. If this is the first time you have packaged your chart, the default will be OK:

$ helm package version-app Successfully packaged chart and saved it to: ~/helm-charts/version-app-0.1.0.tgz

You can test a packaged chart without uploading it to a repository by using the helm serve command. This command will serve all of the packaged charts found in the current directory and generate an index on the fly:

$ helm serve Regenerating index. This may take a moment. Now serving you on 127.0.0.1:8879

You can now try installing your chart by using the local repository:

$ helm install local/version-app



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.