I want to set the loggingService field of an existing container.v1.cluster through deployment-manager. I have the following config
resources: - name: px-cluster-1 type: container.v1.cluster properties: zone: europe-west1-b cluster: description: "dev cluster" initialClusterVersion: "1.13" nodePools: - name: cluster-pool config: machineType: "n1-standard-1" oauthScopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - https://www.googleapis.com/auth/logging.write - https://www.googleapis.com/auth/monitoring management: autoUpgrade: true autoRepair: true initialNodeCount: 1 autoscaling: enabled: true minNodeCount: 3 maxNodeCount: 10 ipAllocationPolicy: useIpAliases: true loggingService: "logging.googleapis.com/kubernetes" masterAuthorizedNetworksConfig: enabled: false locations: - "europe-west1-b" - "europe-west1-c" When I try to run gcloud deployment-manager deployments update ..., I get the following error
ERROR: (gcloud.deployment-manager.deployments.update) Error in Operation [operation-1582040492957-59edb819a5f3c-7155f798-5ba37285]: errors: - code: NO_METHOD_TO_UPDATE_FIELD message: No method found to update field 'cluster' on resource 'px-cluster-1' of type 'container.v1.cluster'. The resource may need to be recreated with the new field. The same succeeds if I remove loggingService.
Is there a way to update loggingService using deployment-manager without deleting the cluster?