Installing https://helm.sh/ for https://gitlab.org/ integration with a LOCAL http://kubernetes.io/ cluster (or standalone host) powered by a OpenSUSE Kubic #kubeadm host https://kubic.opensuse.org/
- Create installation directory
# mkdir -vp /opt/helm
mkdir: created directory '/opt/helm'
- Update
${PATH}
to addhelm
# echo ${PATH} | grep /opt/helm &>/dev/null || printf '\n# %s\n%s\n' 'helm.sh' 'PATH="$PATH:/opt/helm"' >> ~/.profile && source ~/.profile
- Download
helm
installation script
# curl -s 'https://raw.githubusercontent.com/helm/helm/master/scripts/get' -o /opt/helm/get-helm.sh
- Replace
/usr/local/bin
with/opt/helm
in the installation script
# vim /opt/helm/get-heml.sh
- Make
helm
installation script executable
# chmod -c +x /opt/helm/get-helm.sh
mode of '/opt/helm/get-helm.sh' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
- Run
helm
installation script
# /opt/helm/get-helm.sh
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.12.3-linux-amd64.tar.gz
Preparing to install helm and tiller into /opt/helm
helm installed into /opt/helm/helm
tiller installed into /opt/helm/tiller
Run 'helm init' to configure helm.
- Check wether
helm
andtiller
are on${PATH}
and if the permissions are correct
# which helm tiller
/opt/helm/helm
/opt/helm/tiller
# ls -lA /opt/helm/
total 71652
-rwxr-xr-x 1 root root 7270 Feb 18 17:11 get-helm.sh
-rwxr-xr-x 1 root root 36844864 Feb 18 17:14 helm
-rwxr-xr-x 1 root root 36512352 Feb 18 17:14 tiller
- Initialize
helm
environment
# helm init
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /root/.helm.
Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!