helm
This commit is contained in:
parent
7c37fbc80a
commit
396ba006e3
2 changed files with 25 additions and 0 deletions
|
@ -17,3 +17,10 @@
|
||||||
hetzner-kube cluster create --name k8s-test --ssh-key melpomene (-w 3)
|
hetzner-kube cluster create --name k8s-test --ssh-key melpomene (-w 3)
|
||||||
hetzner-kube cluster kubeconfig k8s-test
|
hetzner-kube cluster kubeconfig k8s-test
|
||||||
kubectl cluster-info
|
kubectl cluster-info
|
||||||
|
|
||||||
|
## helm
|
||||||
|
|
||||||
|
install kubernetes-helm from your package manager…
|
||||||
|
|
||||||
|
kubectl apply -f tiller.yaml
|
||||||
|
helm init --service-account tiller
|
||||||
|
|
18
tiller.yaml
Normal file
18
tiller.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
|
Loading…
Reference in a new issue