Create Compute
Provision additional Compute (node pools) for Tenant Data Product workloads.
During initial DataOS setup, a base Compute Resource is created and attached to the Data Plane and Tenant.
Once the Data Plane is connected and the initial Compute is available, you can provision more Compute Resources for Data Product workload needs such as:
Data processing
Query execution
Machine learning Data Product workloads
Compute abstracts the underlying cloud infrastructure and exposes standardized compute pools that DataOS Resources such as Vulcan, Nilus, Minerva Clusters, Lakehouses, and Applications consume.
For more details, see Compute: Access control.
Define a Compute
Create additional Compute Resources with a manifest in this format:
name: ${COMPUTE_NAME}
version: v2alpha
type: compute
spec:
dataplane: ${DATAPLANE_ID} # must reference an existing data plane
nodeSelector:
dataos.io/purpose: core-kernel
nodePool:
labels:
dataos.io/purpose: core-kernelApply
Inspect
Delete
Configuration attributes
Declare Compute-specific attributes inside the spec key:
Attribute
Data Type
Requirement
Description
spec.dataplane
string
Required
Name of the Data Plane Resource for which the Compute Resource is being created
spec.nodeSelector*
map[string]string
Required
Node-level scheduling constraint. Pods land only on matching nodes.
spec.aliases
[]string
Optional
Alternative names for backward compatibility and migration scenarios.
spec.nodePool.labels*
map[string]string
Optional
Pool-level labels used for grouping and autoscaling.
spec.nodePool.taints
[]Taint
Optional
Kubernetes taints requiring Data Product workloads to explicitly tolerate scheduling on these nodes.
Attribute notes
The two attributes marked * in the table above need more detail.
spec.nodeSelector
Use nodeSelector to specify the key-value properties used for node selection. Set the desired node labels in the Compute spec, and Kubernetes schedules the Pod only onto nodes that match every label.
Data Type
Requirement
Default Value
Possible Value
mapping
Required
none
dataos.io/purpose: runnable/query/gpu
For custom Compute Resources, the key-value pair depends on the cloud provider.
Example usage:
spec.nodePool.labels
The nodePool attribute holds the node-pool-specific key-value properties declared in the nodePool mapping.
Data Type
Requirement
Default Value
Possible Value
mapping
Optional
none
dataos.io/purpose: runnable/query/gpu
Example usage:
How DataOS Resources consume a compute
A Data Product workload like app, minerva, or vulcan references a compute by name to set the infrastructure environment where it runs.
Best practices
Name by intent, not by hardware: Prefer
analytics-compute,ml-gpu-compute,core-kernel-computeoverm5-xlarge-compute. Hardware changes; intent doesn't.Pair each Compute with a clear node-pool taint when it targets premium hardware (GPU, high-memory). The taint stops cheap Data Product workloads from stealing the node.
Use
aliaseswhen renaming a Compute so existing Data Product workloads keep working until you migrate them.Keep
dataplanecorrect: A common bug is pointing acomputeat a Data Plane that does not exist in this Tenant. Confirm withdataos-ctl resource get -t dataplane -n <id>first.Use per-job Compute in workflows: Give cheap steps cheap Compute and expensive steps premium Compute. Do not force one Compute on a multi-stage DAG.
Document each Compute in
descriptionandtags: Other teams in the Tenant inherit it from a name likeanalytics-compute. A two-line description prevents wrong usage.
Troubleshooting
Last updated
Was this helpful?