Answers for "install helm on minikube"

1

installing helm and tiller on minikube

#installing helm
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > install-helm.sh
bash install-helm.sh

#Create the Tiller service account
kubectl create serviceaccount tiller --namespace kube-system
#Bind the Tiller service account to the cluster-admin role
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
#initialisr helm with service account "tiller"
helm init --service-account tiller

#sharing YAML file to bind tiller service account to cluster-admin role
#Yo can use this YAML file if you do not want to do binding with command
# and want to know further.
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
  name: tiller
  namespace: kube-system
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: ""
Posted by: Guest on May-05-2020
0

install helm on minikube

#for latest version of helm on uuntu

curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
Posted by: Guest on July-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language