Container Cluster Google Cloud Deployment Manager Update

I am trying to create a Google Cloud Deployment Manager configuration to deploy and manage a Google cloud container cluster. While creating a configuration is being created to create a cluster, however, the update is not performed. If I change the setting, the script will fail with an error message that I cannot decrypt:

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"}}' 

Appropriate configuration:

 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 
+5
source share
1 answer

This appears to be a bug in Deployment Manager, which means that it cannot upgrade GKE clusters. The error is reported here . It has the same strange β€œunknown name” message that you see.

There are no ticket suggestions for workarounds or permission.

We saw the same problem when updating another cluster property.

+4
source

Source: https://habr.com/ru/post/1268812/


All Articles