...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | install Helm |
---|
|
curl -L https://git.io/get_helm.sh | bash |
Run the below command to install latest helm, Create yaml file to define the service account & cluster role binding for helm,
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | helm tiller |
---|
|
cat > tiller-serviceaccount.yaml << EOF
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
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: ""
EOF |
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Create |
---|
|
...
|
sudo kubectl create -f tiller-serviceaccount.yaml |
Install Nonrtric
Troubleshoot
...