Google compute engine 正在启动Kubernetes多区域群集-服务不可用503后端错误

Google compute engine 正在启动Kubernetes多区域群集-服务不可用503后端错误,google-compute-engine,kubernetes,gcloud,Google Compute Engine,Kubernetes,Gcloud,我按照教程在GCE上创建多区域Kubernetes部署。当我运行此命令时(如博客文章所示): curl-sShttps://get.k8s.io |多区域=1 KUBERNETES_提供者=gce KUBE\u GCE\u ZONE=us-central1-a NUM\u NODES=3 bash 我得到以下输出: . . . All components are up to date. ... calling kube-up Your active configuration is: [de

我按照教程在GCE上创建多区域Kubernetes部署。当我运行此命令时(如博客文章所示):

curl-sShttps://get.k8s.io |多区域=1 KUBERNETES_提供者=gce
KUBE\u GCE\u ZONE=us-central1-a NUM\u NODES=3 bash

我得到以下输出:

.
.
.
All components are up to date.
... calling kube-up
Your active configuration is: [default]

Project: ***
Zone: us-central1-a
Creating gs://kubernetes-staging-30021049c6
Creating gs://kubernetes-staging-30021049c6/...
ServiceException: 503 Backend Error
gcloud配置如下所示:

Your active configuration is: [default]

[compute]
region = us-central1
zone = us-central1-a
[core]
account = ***@gmail.com
disable_usage_reporting = False
project = ***
[metrics]
command_name = gcloud.config.list
我不知道为什么集群没有出现。任何指点都将不胜感激


谢谢

看起来我可以通过使用个人帐户和服务帐户来解决这个问题。似乎是使用服务帐户在GCE上创建bucket的问题

gcloud init
Welcome! This command will take you through the configuration of gcloud.

Your current configuration has been set to: [default]

Pick credentials to use:
 [1] XXXXXXXX-compute@developer.gserviceaccount.com
 [2] Log in with new credentials
Please enter your numeric choice:  2


You are running on a Google Compute Engine virtual machine.
It is recommended that you use service accounts for authentication.

You can run:

  $ gcloud config set account ``ACCOUNT''

to switch accounts if necessary.

Your credentials may be visible to others with access to this
virtual machine. Are you sure you want to authenticate with
your personal account?

Do you want to continue (Y/n)?  Y

看起来我可以通过使用个人帐户和服务帐户来解决这个问题。似乎是使用服务帐户在GCE上创建bucket的问题

gcloud init
Welcome! This command will take you through the configuration of gcloud.

Your current configuration has been set to: [default]

Pick credentials to use:
 [1] XXXXXXXX-compute@developer.gserviceaccount.com
 [2] Log in with new credentials
Please enter your numeric choice:  2


You are running on a Google Compute Engine virtual machine.
It is recommended that you use service accounts for authentication.

You can run:

  $ gcloud config set account ``ACCOUNT''

to switch accounts if necessary.

Your credentials may be visible to others with access to this
virtual machine. Are you sure you want to authenticate with
your personal account?

Do you want to continue (Y/n)?  Y

这里的解决办法是:


这里的解决办法是:


我有相同的错误,没有任何环境变量,
curl-sShttps://get.k8s.io |bash
。在你的环境中呢?与
KUBERNETES\u PROVIDER=gce KUBE\u gce\u ZONE=us-central1-b KUBERNETES/cluster/KUBE up.sh相同的错误。我已经设置了
gcloud
来处理我的个人gmail帐户,但没有环境变量。没有任何环境变量,我也有相同的错误,
curl-sShttps://get.k8s.io |bash
。在您的环境中如何?与
KUBERNETES\u PROVIDER=gce KUBE\u gce\u ZONE=us-central1-b KUBERNETES/cluster/KUBE-up相同的错误。sh
我已经设置了
gcloud
来使用我的个人gmail帐户,但没有环境变量。嗨,我不认为我在使用服务帐户,当我使用gcloud init时,我看到我的帐户是“帐户=XXXX@YYYY.com“这是一个Google Apps电子邮件地址帐户。我可以使用web界面启动群集,然后可以使用
kubectl
管理该群集,但是脚本(在问题中提到)不适用于我。嗨,我不认为我在使用服务帐户,当我使用gcloud init时,我看到我的帐户是“account=XXXX@YYYY.com“这是一个Google Apps电子邮件地址帐户。我可以使用web界面启动群集,然后可以使用
kubectl
管理该群集,但脚本(在问题中提到)对我不起作用。