# ClusterSize

## Properties

| Name             | Type                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Notes       |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **num\_workers** | Option<**i32**>                                                                                                             | If num\_workers, number of worker nodes that this cluster must have. A cluster has one Spark driver and num\_workers executors for a total of num\_workers + 1 Spark nodes. When reading the properties of a cluster, this field reflects the desired number of workers rather than the actual number of workers. For instance, if a cluster is resized from 5 to 10 workers, this field is updated to reflect the target size of 10 workers, whereas the workers listed in executors gradually increase from 5 to 10 as the new nodes are provisioned. | \[optional] |
| **autoscale**    | Option<[**crate::models::AutoScale**](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/docs/autoscale)> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | \[optional] |

[\[Back to Model list\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/..#documentation-for-models) [\[Back to API list\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/..#documentation-for-api-endpoints) [\[Back to README\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs)
