...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ubuntu@onap-control-01:~$ wget https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz ----- ubuntu@onap-control-01:~$ tar wget https://get.helm.sh/helm-zxvf helm-v3.5.2-linux-amd64.tar.gz ubuntu@onap--2021-06-14 16:25:08-- https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz Resolving get.helm.sh (get.helm.sh)... 152.195.19.97, 2606:2800:11f:1cb7:261b:1f9c:2074:3c Connecting to get.helm.sh (get.helm.sh)|152.195.19.97|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 12365365 (12M) [application/x-tar] Saving to: ‘helm-v3.5.2-linux-amd64.tar.gz’ helm-v3.5.2-linux-amd64.tar.gz 100%[===============================================================================================================>] 11.79M --.-KB/s in 0.07s 2021-06-14 16:25:08 (169 MB/s) - ‘helm-v3.5.2-linux-amd64.tar.gz’ saved [12365365/12365365] ubuntu@onap-control-01:~$ |
Initialize Kubernetes Cluster for use by Helm
Perform this on onap-control-1 VM only during the first setup.
Code Block |
---|
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --stable-repo-url https://charts.helm.sh/stable --service-account tiller
kubectl -n kube-system rollout status deploy/tiller-deploy
helm repo remove stable
|
Perform this on the other onap-control nodes:
...
language | bash |
---|---|
firstline | 1 |
...
control-01:~$ sudo mv linux-amd64/helm /usr/local/bin/helm |
Initialize Kubernetes Cluster for use by Helm
Perform this on onap-control-1 VM only during the first setup.
Perform this on the other onap-control nodes:
Setting up the NFS share for multinode kubernetes cluster:
...