- kubectl installed
- helm 3 installed
- SUSE OS installed
*Note - You can install these tool before or after you install a cluster.
By default both utils use ~/.kube/config for authentication information. It will be created when you create a cluster
ssh tux@IP Address
sudo curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
Example output
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 41.0M 100 41.0M 0 0 27.9M 0 0:00:01 0:00:01 --:--:-- 27.9M
sudo mv kubectl /usr/local/bin
sudo chown tux:users /usr/local/bin/kubectl
sudo chmod +x /usr/local/bin/kubectl
(As root, or sudo -i) kubectl completion bash >/etc/bash_completion.d/kubectl
Logout and log back in to activate.
cat >> ~/.profile <<EOF
alias kubectl='kubectl --cache-dir /dev/shm/${USER}_kube_http_cache'
EOF
sudo wget -O helm.tar.gz https://get.helm.sh/helm-v3.4.2-linux-amd64.tar.gz
tar -zxvf helm.tar.gz
sudo mv linux-amd64/helm /usr/local/bin
sudo chmod +x /usr/local/bin/helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 |bash