Google云终端:认证后无法创建集群

时间:2018-10-08 23:50:26

标签: kubernetes google-cloud-platform google-kubernetes-engine

我正在按照官方的Google指南here来部署一个小型测试示例应用程序。

下面是我尝试创建名为s的集群后的输出消息和警告

> vg@cloudshell:~ (shopify)$ gcloud container clusters create s
WARNING: Starting in 1.12, new clusters will have basic authentication disabled by default. Basic authentication can be enabled (or disabled) manually 
using the `--[no-]enable-basic-auth` flag.
WARNING: Starting in 1.12, new clusters will not have a client certificate issued. You can manually enable (or disable) the issuance of the client cert
ificate using the `--[no-]issue-client-certificate` flag.
WARNING: Currently VPC-native is not the default mode during cluster creation. In the future, this will become the default mode and can be disabled usi
ng `--no-enable-ip-alias` flag. Use `--[no-]enable-ip-alias` flag to suppress this warning.
This will enable the autorepair feature for nodes. Please see https://cloud.google.com/kubernetes-engine/docs/node-auto-repair for more information on 
node autorepairs.
WARNING: Starting in Kubernetes v1.10, new clusters will no longer get compute-rw and storage-ro scopes added to what is specified in --scopes (though 
the latter will remain included in the default --scopes). To use these scopes, add them explicitly to --scopes. To use the new behavior, set container/
new_scopes_behavior property (gcloud config set container/new_scopes_behavior true).
ERROR: (gcloud.container.clusters.create) ResponseError: code=404, message=Not found: shopify.

我遵循了Google的官方排障指南,该指南要求我重新验证项目shopify,以下是消息

Enter verification code: `omitted on Stackoverflow`
WARNING: `gcloud auth login` no longer writes application default credentials.
If you need to use ADC, see:
  gcloud auth application-default --help
You are now logged in as [vg@gmail.com]
Your current project is [shopify].  You can change this setting by running:
  $ gcloud config set project PROJECT_ID

现在,如果我尝试创建集群,我仍然会收到上面的相同错误消息404。有什么想法吗?

0 个答案:

没有答案