Distribute your container App as a Package

Published on 19 April 2021 in Version 4.10 / Development - 2 minutes read - Read in jp

Create and publish a Helm chart of your Kubernetes application.

Helm is a package manager for Kubernetes and makes it simple to publish your app so that people can install it in three lines. For example with the Hue SQL Editor:

helm repo add gethue https://helm.gethue.com
helm repo update
helm install hue gethue/hue

3-step process of packaging3-step process of packaging

In the Helm world, chart is synonym of the traditional packages or modules of the Python or JavaScript world.

To build the chart, simply use the package command from the root of your Helm chart. Using Hue Helm directory as an example:

cd hue/tools/kubernetes/helm/
helm package hue

Then to publish it to the outside, index it and serve it in your Helm repository which can be a simple static Web server.

For example here with an Apache server we copy it to the host:

scp hue-1.0.1.tgz [email protected]:/var/www/helm.gethue.com

Then connect to the server and index the package:

ssh [email protected]
cd /var/www/helm.gethue.com

helm repo index .

Note: those are manual steps but can obviously be automated. Also feel free to check your server logs to count how many people install it.

Then your users can start leveraging features from the Kubernetes world like rolling upgrades, metrics, tracing

Happy Helming!



Any feedback or question? Feel free to comment here or on the Discussions and quick start SQL querying!

Romain from the Hue Team


comments powered by Disqus

More recent stories

26 June 2024
Integrating Trino Editor in Hue: Supporting Data Mesh and SQL Federation
Read More
03 May 2023
Discover the power of Apache Ozone using the Hue File Browser
Read More