What is helm chart?
From the official page of helm, they define it like this.
Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.
Charts are easy to create, version, share, and publish — so start using Helm and stop the copy-and-paste.
Don’t worry, if it seems a bit abstract. I will explain with an analogy.
what docker is for source code, helm is for k8s objects.
We create and share docker image for any application to run on different environments without thinking about various configuration, dependencies, installing other softwares or tools etc. We get the docker image of any app or database, override the default configuration if required and start consuming it. Now think of sharing source code to someone, he or she has to do a lot of prerequisite before it starts. In the same way, helm helps us to get rid of creating multiple k8s objects for same application to run on multiple environments and with one single command it will deploy your k8s application to cluster.
Think of what you need to do, if youwant to run apache kafka on a k8s cluster. You will download kafka, install it, create k8s objects according to various environments and apply kubectl command. Now using helm, you just need to pull helm chart of apache kafka from helm repo of any trusted vendor and apply helm install command with overriding default variables depending on environments.
In this way, it is pretty easy to use with helm chart. No download, no install, no k8s objects all gone.
So now, see helm in action by creating a spring boot app and deploy it to minikube cluster using helm chart.
In this way, it is pretty easy to use with helm chart. No download, no install, no k8s objects all gone.
So now, see helm in action by creating a spring boot app and deploy it to minikube cluster using helm chart.