Helm — Helm Operations
K8s Helm service orchestration basics
In my previous article, I introduced some basics of HELM
(https://tonylixu.medium.com/helm-helm-basics-a366daec5a81), now let’s learn how to use Helm
to manage the application life cycle.
Preconditions
Before getting started, you need to make sure you have a working K8s cluster.
Install Helm
Helm provides a variety of installation methods. If you can connect to the external network, you can install it through a script. The installation command is as follows:
$ mkdir -p $HOME/bin
$ wget https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz
$ tar -xvzf helm-v3.6.3-linux-amd64.tar.gz
$ mv linux-amd64/helm $HOME/bin
$ chmod +x $HOME/bin/helm
$ helm version
version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"}
If you have internet access, you can follow the official instructions here “Installing Helm”.
If the version number of the helm
command can be successfully printed out by executing helm version , it means that Helm is installed successfully.
After installing the helm
command, you can install the autocompletion script for the helm
command. If your…