mirror of
https://github.com/wardviaene/kubernetes-course.git
synced 2026-07-10 22:29:16 +00:00
helm
This commit is contained in:
15
helm/README.md
Normal file
15
helm/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Helm
|
||||
|
||||
## Install helm
|
||||
```
|
||||
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.9.1-linux-amd64.tar.gz
|
||||
tar -xzvf helm-v2.9.1-linux-amd64.tar.gz
|
||||
sudo mv linux-amd64/helm /usr/local/bin/helm
|
||||
```
|
||||
|
||||
## Initialize helm
|
||||
|
||||
```
|
||||
kubect create -f helm-rbac.yaml
|
||||
helm init --service-account tiller
|
||||
```
|
||||
18
helm/helm-rbac.yaml
Normal file
18
helm/helm-rbac.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: tiller
|
||||
namespace: kube-system
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: tiller
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: tiller
|
||||
namespace: kube-system
|
||||
Reference in New Issue
Block a user