Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
snap install microk8s --classic --channel=1.20/stable
# Add the group
sudo usermod -a -G microk8s $USER
# Enable dns and helm3
microk8s.enable dns helm3
# make sure microk8s is running ok
microk8s.inspect
# Updating kubectl config.
sudo microk8s kubectl config view --raw > $HOME/.kube/config
#Secure the config
chmod 600 ~/.kube/config
Install and setup HELM:
# Helm-3 Install
mkdir ~/.helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh -v v3.5.2 --no-sudo
# Check Helm Version
helm version
helm repo remove stable
Setup chartmuseum repo for helm:
curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash
mkdir ~/chartstorage
chartmuseum --debug --port=8080 \
--storage="local" \
--storage-local-rootdir="~/chartstorage" &
helm repo add chartmuseum http://localhost:8080
Install helm push plugin:
helm plugin install https://github.com/chartmuseum/helm-push
After installing, charts can be pushed to the chartmuseum repo using "helm cm-push <chart directory> <reponame>"