Last active
May 19, 2024 02:21
-
-
Save sanketsudake/e60d917ede9c0198f1ae56b07a10dd9a to your computer and use it in GitHub Desktop.
[Ubuntu Linux]Kubernetes Minikube Helm Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install virtualbox | |
sudo apt install virtualbox | |
# Install Kubectl | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin | |
# Install Minikube | |
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ | |
# Launch Minikube | |
minikube start | |
# Veritfy minikube & kubernetes installation with following commands | |
kubectl get nodes | |
# NAME STATUS AGE | |
# minikube Ready 24s | |
kubectl config current-context | |
# minikube | |
minikube ip | |
# 192.168.99.100 | |
kubectl cluster-info | |
# Kubernetes master is running at https://192.168.99.100:8443 | |
# KubeDNS is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kube-dns | |
# kubernetes-dashboard is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard | |
# Install Helm | |
curl -Lo /tmp/helm-linux-amd64.tar.gz https://kubernetes-helm.storage.googleapis.com/helm-v2.1.3-linux-amd64.tar.gz | |
tar -xvf /tmp/helm-linux-amd64.tar.gz -C /tmp/ | |
chmod +x /tmp/linux-amd64/helm && sudo mv /tmp/linux-amd64/helm /usr/local/bin/ | |
# Initialize helm, install Tiller(the helm server side component) | |
helm init | |
# Make sure we get the latest list of chart | |
helm repo update | |
# * Happy Helming * | |
helm ls |
According to the official documentation, the helm init
command has been removed without replacement:
The helm init command has been removed. It performed two primary functions. First, it installed Tiller. This is no longer needed. Second, it setup directories and repositories where Helm configuration lived. This is now automated. If the directory is not present it will be created.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for these instructions.
Before installing helm, the minikube should have socat installed
(sudo apt-get install socat)
I use them to test with the following versions: