CreateCluster
Create a Databricks cluster.
type: "io.kestra.plugin.databricks.cluster.CreateCluster"
Create a Databricks cluster with one worker.
id: databricks_create_cluster
namespace: company.team
tasks:
- id: create_cluster
type: io.kestra.plugin.databricks.cluster.CreateCluster
authentication:
token: <your-token>
host: <your-host>
clusterName: kestra-demo
nodeTypeId: n2-highmem-4
numWorkers: 1
sparkVersion: 13.0.x-scala2.12
YES
The name of the cluster.
YES
The Spark version.
YES
Databricks account identifier.
YES
Databricks authentication configuration.
This property allows to configure the authentication to Databricks, different properties should be set depending on the type of authentication and the cloud provider. All configuration options can also be set using the standard Databricks environment variables. Check the Databricks authentication guide for more information.
YES
If set, the cluster will be terminated automatically after this time period.
YES
Databricks configuration file, use this if you don't want to configure each Databricks account properties one by one.
YES
Databricks host.
YES
The maximum number of workers.
Use this property along with minWorkers
to use autoscaling. Otherwise, set a fixed number of workers using numWorkers
.
YES
The minimum number of workers.
Use this property along with maxWorkers
for autoscaling. Otherwise, set a fixed number of workers using numWorkers
.
YES
The type of node, the value depends on the cloud provider.
YES
The fixed number of workers.
You must set this property unless you use the minWorkers
and maxWorkers
properties for autoscaling.
The cluster identifier.
ERROR
PENDING
RESIZING
RESTARTING
RUNNING
TERMINATED
TERMINATING
UNKNOWN
The cluster state.
uri
The cluster URI on the Databricks console.
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES