kubernetes - 谷歌云终端:认证后无法创建集群
问题描述
我正在尝试按照此处的官方谷歌指南部署一个小型测试示例应用程序。
以下是我尝试创建名为的集群后的输出消息和警告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.
我按照谷歌官方的故障排除指南,要求我重新授权进入项目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。有任何想法吗?
解决方案
推荐阅读
- javascript - 无法从 xhr 响应文本中获取状态代码
- c++ - 修改不可变的子结构
- c# - 如何将 FontAwesome 图标添加到 ASP.NET MVC 项目?
- python - 在保留分类变量的同时重塑数据框
- reactjs - TypeError:无法读取未定义的属性“道具”--reactjs
- react-native - 如何使用 React Native 应用创建对话式聊天?
- matlab - 改变matlab中的情节
- sql - SQL Server 每 5 行循环遍历一个表
- sql - SQL Server 函数返回问号而不是实际结果
- ruby-on-rails - 将 Rails 与 Cordova/Phonegap 集成