# diagrid clusters update

Update a cluster connection's configuration

```
diagrid clusters update <cluster-id> [flags]
```

### Examples

```

  # Update an existing cluster connection configuration to enable automatic agent upgrades and automatic Dapr config sync
  diagrid clusters update <cluster-id> --auto-agent --auto-sync

  # Update an existing cluster connection type to production
  diagrid clusters update <cluster-id> --type prod

```

### Options

```
      --additional-ca-certs-path string     Additional CA certificates PEM file path for the cluster. This file will be added to the system CA certs folder on the container. (default "-")
      --api-key string                      Diagrid Cloud API key
  -a, --auto-agent                          Enable automatic agent upgrades
      --auto-sync                           Enable automatic Dapr config sync
  -h, --help                                help for update
      --http-proxy string                   Comma separated list of HTTP proxies for the cluster (default "-")
      --https-proxy string                  Comma separated list of HTTPS proxies for the cluster (default "-")
      --logs-resource-limits string         Kubernetes resource limits for the logs collector container (e.g. --logs-resource-limits cpu=300m,memory=500Mi )
      --logs-resource-requests string       Kubernetes resource requests for the logs collector container (e.g. --logs-resource-requests cpu=100m,memory=200Mi )
      --managed-certificates                Enable managed certificates
      --metrics-node-affinity stringArray   Kubernetes node affinity for the metrics statefulset
      --metrics-node-selector string        Kubernetes node selector for the metrics statefulset
      --metrics-replicas int                Number of replicas for the metrics collector container (e.g. --metrics-replicas 2) (default 2)
      --metrics-resource-limits string      Kubernetes resource limits for the metrics collector container (e.g. --metrics-resource-limits cpu=300m,memory=500Mi )
      --metrics-resource-requests string    Kubernetes resource requests for the metrics collector container (e.g. --metrics-resource-requests cpu=100m,memory=200Mi )
      --metrics-tolerations stringArray     Kubernetes tolerations for the metrics statefulset
      --no-proxy string                     Comma separated list of no proxy values for the cluster (default "-")
  -o, --output string                       Output format, supported [table, yaml, json] (default "table")
      --reporter-replicas int               Number of replicas for the reporter container (e.g. --reporter-replicas 2) (default 2)
      --reporter-resource-limits string     Kubernetes resource limits for the reporter container (e.g. --reporter-resource-limits cpu=300m,memory=500Mi )
      --reporter-resource-requests string   Kubernetes resource requests for the reporter container (e.g. --reporter-resource-requests cpu=100m,memory=200Mi )
      --type string                         Cluster type (prod, nonprod) (default "nonprod")
```

### SEE ALSO

- [diagrid clusters](./clusters.md)	 - Manage cluster connections
