gpt4 book ai didi

google-cloud-platform - 谷歌云部署管理器更新容器集群

转载 作者:行者123 更新时间:2023-12-03 22:37:05 26 4
gpt4 key购买 nike

我正在尝试创建 Google Cloud 部署管理器配置来部署和管理 Google Cloud 容器集群。到目前为止,创建配置来创建集群是可行的,但是更新失败。如果我更改设置,脚本的执行将失败并显示一条我无法解读的错误消息:

 code: RESOURCE_ERROR
location: /deployments/my-first-cluster/resources/my-first-test-cluster-setup
message:
'{"ResourceType":"container.v1.cluster","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"Invalid
JSON payload received. Unknown name \"cluster\": Cannot find field.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.rpc.BadRequest","fieldViolations":[{"description":"Invalid
JSON payload received. Unknown name \"cluster\": Cannot find field."}]}],"statusMessage":"Bad
Request","requestPath":"https://container.googleapis.com/v1/projects/*****/zones/europe-west1-b/clusters/my-first-cluster"}}'

相关配置:

resources:
- name: my-first-test-cluster-setup
type: container.v1.cluster
properties:
zone: europe-west1-b
cluster:
name: my-first-cluster
description: My first cluster setup
nodePools:
- name: my-cluster-node-pool
config:
machineType: n1-standard-1
initialNodeCount: 1
autoscaling:
enabled: true
minNodeCount: 3
maxNodeCount: 5
management:
autoUpgrade: true
autoRepair: true

最佳答案

看起来这是 Deployment Manager 中的一个错误,这意味着它无法更新 GKE 集群。已报告错误 here .它具有与您看到的相同的奇怪的“未知名称“集群””消息。

工单上没有关于变通方法或解决方案的建议。

我们在更新不同的集群属性时也遇到过同样的问题。

关于google-cloud-platform - 谷歌云部署管理器更新容器集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44525692/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com