请登录后探索更多精彩内容!
Fetching cluster endpoint and auth data.
ERROR: gcloud crashed (TypeError): string indices must be integers, not 'str'
If you would like to report this issue, please run the following command:
gcloud feedback“
原因:
linux用户权限不够,需要用sudo权限
报错:
ERROR: (gcloud.container.clusters.get-credentials) You do not currently have an active account selected.
Please run:xxz
解决方法:
执行命令:sudo gcloud auth login --no-launch-browser
CRITICAL: ACTION REQUIRED: gke-gcloud-auth-plugin, which is needed for continued use of kubectl, was not found or is not executable. Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin
安装google-cloud-sdk-gke-gcloud-auth-plugin
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
暂无评论
请先登录后发表评论!
暂无评论