Skip to content

Instantly share code, notes, and snippets.

@Paccyman
Forked from random-robbie/install.sh
Created January 21, 2020 16:04
Show Gist options
  • Save Paccyman/47b8f6f3955e1d30d5e9cb06a02dd218 to your computer and use it in GitHub Desktop.
Save Paccyman/47b8f6f3955e1d30d5e9cb06a02dd218 to your computer and use it in GitHub Desktop.
Install helm for kubernetes on centos 7
#!/bin/bash
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.12.2-linux-amd64.tar.gz
tar -zxvf helm-v2.12.2-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/helm
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
kubectl create namespace kubeapps
helm install --name kubeapps --namespace kubeapps bitnami/kubeapps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment