Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes &引用;gcloud容器群集创建失败”;加上;container.clusters.create";权限错误_Kubernetes_Google Cloud Platform_Gcloud - Fatal编程技术网

Kubernetes &引用;gcloud容器群集创建失败”;加上;container.clusters.create";权限错误

Kubernetes &引用;gcloud容器群集创建失败”;加上;container.clusters.create";权限错误,kubernetes,google-cloud-platform,gcloud,Kubernetes,Google Cloud Platform,Gcloud,使用gcloud container clusters create命令创建kubernetes群集时,会出现如下权限错误: $ gcloud container clusters create my-k8s WARNING: Currently node auto repairs are disabled by default. In the future this will change and they will be enabled by default. Use `--[no-]ena

使用gcloud container clusters create命令创建kubernetes群集时,会出现如下权限错误:

$ gcloud container clusters create my-k8s WARNING: Currently node auto repairs are disabled by default. In the future this will change and they will be enabled by default. Use `--[no-]enable-autorepair` flag to suppress this warning. 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=403, message=Required "container.clusters.create" permission for "projects/test-project". $gcloud容器群集创建my-k8s 警告:当前默认情况下禁用节点自动修复。在将来,这将发生变化,并且默认情况下将启用它们。使用`-[no-]enable autorepair`标志可取消显示此警告。 警告:从Kubernetes v1.10开始,新集群将不再将compute rw和storage ro范围添加到--scopes中指定的范围中(尽管后者仍将包含在默认--scopes中)。要使用这些作用域,请将它们显式添加到--scopes。要使用新行为,请设置container/new_scopes_行为属性(gcloud config set container/new_scopes_behavior true)。 错误:(gcloud.container.clusters.create)ResponseError:code=403,message=Required“container.clusters.create”对“项目/测试项目”的权限。 我如何解决这个错误


谢谢

我可以从以下命令开始:

gcloud container clusters create my-k8s --project  test-project-xxxxxx 
注意:如果项目名称没有编号,则创建将失败,并出现相同的错误

gcloud container clusters create my-k8s --project  test-project

我可以从以下命令开始:

gcloud container clusters create my-k8s --project  test-project-xxxxxx 
注意:如果项目名称没有编号,则创建将失败,并出现相同的错误

gcloud container clusters create my-k8s --project  test-project