WARNING: Accessing a Kubernetes Engine cluster requires the kubernetes commandline
client [kubectl]. To install, run
$ gcloud components install kubectl
Fetching cluster endpoint and auth data.
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=403, message=Request had insufficient authentication scopes.
If you are in a compute engine VM, it is likely that the specified scopes during VM creation are not enough to run this command.
See https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam for more information about access scopes.
See https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#changeserviceaccountandscopes for how to update access scopes of the VM.
🔗 gke-gcloud-auth-plugin 공식 문서
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
# 버전 확인
getconf LONG_BIT
# 파일 다운로드
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-444.0.0-linux-arm.tar.gz
# 압축 풀기
tar -xf google-cloud-cli-444.0.0-linux-arm.tar.gz
# 설치
./google-cloud-sdk/install.sh
sudo: yum: command not found
sudo apt-get install kubectl
apt-get update
apt-get install software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce
docker --version
sudo apt-get install git
sudo apt install git
git --version