5
Googleクラウドコンテナクラスターを導入、管理するためのGoogle Cloud Deployment Managerの設定を作成しようとしています。これまでは、クラスタを作成するための設定を作成しても、更新は失敗します。私は、設定を変更した場合、スクリプトの実行がエラーメッセージで失敗し、私は解読できません。Googleクラウドデプロイメントマネージャーのアップデートコンテナークラスター
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
こんにちは、@ベン!この質問をご覧になれますか? https://stackoverflow.com/q/47149954/7644562 –