I'm trying to create a Google Cloud Deployment Manager configuration to 
deploy and manage a Google Cloud Container cluster. So far, creating a 
configuration to create a cluster works, however updating fails. If I 
change a setting, the execution of the script fails with an error message I 
can't decipher:


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


The relevant 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

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to