spec.displayName | string (nullable) | No | | | max 100 |
spec.driver | object (nullable) | No | | The pod shape of a driver or an executor. Absent fields follow the size class. | |
spec.driver.cores | integer (nullable) | No | | | min 1, max 16; format int32 |
spec.driver.memory | string (nullable) | No | | For example 4Gi. | pattern ^[1-9][0-9]*(Mi|Gi)$ |
spec.env | array of object | No | | | max 50 |
spec.env[].connectionRef | object (nullable) | No | | Where an environment variable's value comes from when it is not written in the spec. | |
spec.env[].connectionRef.key | string | Yes | | The key inside that connection's synced Secret. | min 1, max 63; pattern ^[A-Za-z][A-Za-z0-9_]*$ |
spec.env[].connectionRef.name | string | Yes | | Name of a Connection in the same namespace. | min 1, max 40; pattern ^[a-z0-9][a-z0-9-]*$ |
spec.env[].name | string | Yes | | | min 1, max 64; pattern ^[A-Z_][A-Z0-9_]*$ |
spec.env[].value | string (nullable) | No | | | max 1024 |
spec.executor | object (nullable) | No | | The pod shape of a driver or an executor. Absent fields follow the size class. | |
spec.executor.cores | integer (nullable) | No | | | min 1, max 16; format int32 |
spec.executor.memory | string (nullable) | No | | For example 4Gi. | pattern ^[1-9][0-9]*(Mi|Gi)$ |
spec.idleStopMinutes | integer | No | 60 | Minutes without a job before the cluster stops by itself. 0 means it never stops. | min 0, max 1440; format int32 |
spec.image | string (nullable) | No | | A custom image, pinned by digest so a tag cannot move under the cluster. | max 512 |
spec.maxExecutors | integer (nullable) | No | | | min 0, max 50; format int32 |
spec.owner | object | Yes | | Who owns a SparkCluster: a group, or as an exception one person. | |
spec.owner.group | string (nullable) | No | | The Keycloak group whose members start, stop and use the cluster. | min 1, max 64; pattern ^[A-Za-z0-9][A-Za-z0-9._-]*$ |
spec.owner.user | string (nullable) | No | | One person's user name. The exception: prefer group. | min 1, max 128; pattern ^[A-Za-z0-9][A-Za-z0-9._@-]*$ |
spec.runtime | string | Yes | | The Spark and Python runtime, for example spark-4.0-py3.12. | pattern ^spark-[0-9]+\.[0-9]+-py3\.[0-9]+$ |
spec.size | string | No | small | A Spark cluster's size class: three shapes an administrator picks instead of every number. | small, medium, large |
spec.sparkConf | object (map of string) | No | | Spark settings applied to the driver and the executors. | max 100 |
spec.state | string | No | Stopped | The desired state of a SparkCluster. Start and Stop write it; the controller follows it. | Stopped, Running |
spec.viewers | array of string | No | | Groups that may USE the cluster in Nova — see it, connect to it and run work with it — and nothing else. Starting, stopping and changing it stay with owner. Absent means the owner's group only. | max 16 |