> For the complete documentation index, see [llms.txt](https://databricks-kube-operator.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/docs/clustersize.md).

# 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**](/doc/databricks-rust-jobs/docs/autoscale.md)> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | \[optional] |

[\[Back to Model list\]](/doc/databricks-rust-jobs.md#documentation-for-models) [\[Back to API list\]](/doc/databricks-rust-jobs.md#documentation-for-api-endpoints) [\[Back to README\]](/doc/databricks-rust-jobs.md)
