Kubectl Installation and with gcloud - timowang1991/kubernetes-docs GitHub Wiki
- Refer to official doc: Install and Set Up kubectl on Linux
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client
-
gcloud
command installed (see official installation guide)
./google-cloud-sdk/install.sh
./google-cloud-sdk/bin/gcloud init
gcloud container clusters get-credentials <cluster_name>