Create and Manage Compute Configs
This guide describes how to create and manage Compute Configs. A Compute Config is a reusable blueprint of cluster settings that PaletteAI applies when provisioning Compute Pools, so users do not re-enter the same node and networking values for every deployment.
You can create Compute Configs using the PaletteAI UI or using YAML Kubernetes manifests.
Prerequisites
- UI Workflow
- YAML Workflow
Create a Compute Config
- UI Workflow
- YAML Workflow
-
Log in to the PaletteAI console. Ensure you are in the correct Project or Tenant scope.
-
From the left main menu, select Settings, and then select the Compute Config tab.
-
Select Create Compute Config.
-
On the Basic Information page, enter a Compute Config Name. At the tenant scope, you can also choose which Projects the Compute Config is shared with. Select Next.
-
(Optional) On the Edge Configuration page, configure cluster-wide Edge defaults such as NTP servers and network overlay settings. Select Next.
-
On the Node Pool Defaults page, configure the default control plane and worker pool settings.
Control Plane Pool:
Field Description Required Node Count Number of control plane nodes. Valid values: 1,3, or5.✅ Single node cluster Toggle to deploy clusters as single-node, where one node serves as both control plane and worker. ❌ Run workloads on control plane Toggle to allow workloads on control plane nodes. Required for single-node clusters. ❌ Architecture CPU architecture. AMD64(default) orARM64.❌ CPU Count Per-node minimum CPU count. ❌ Memory Per-node minimum memory. ❌ Annotations / Labels Expand Metadata to add key-value pairs to control plane nodes. ❌ Taints Expand to add node taints. Each taint requires a key, value, and effect ( NoSchedule,PreferNoSchedule, orNoExecute).❌ Worker Pools:
Select Add Worker Pool to add default worker pools. For each pool, configure the Architecture, Min Worker Nodes, CPU Count, Memory, GPU requirements (GPU Variant, GPU Count, GPU Memory), and optional Metadata and Taints.
infoControl plane taints and worker pool taints are mutually exclusive. If the control plane defines taints, worker pools cannot.
Select Next.
-
On the Review page, confirm your settings, and then submit the Compute Config.
A ComputeConfig is a namespaced resource in the spectrocloud.com/v1alpha1 API group. Only the control plane pool's nodeCount is required; everything else refines the defaults.
-
Create a
ComputeConfigmanifest.compute-config.yamlapiVersion: spectrocloud.com/v1alpha1
kind: ComputeConfig
metadata:
name: <compute-config-name>
namespace: <project-namespace>
spec:
paletteClusterConfig:
defaults:
controlPlanePool:
nodeCount: 3
architecture: AMD64
cpu:
cpuCount: 4
memory:
memory: '16 GB'
workerPools:
- name: default-workers
architecture: AMD64
minWorkerNodes: 1The manifest breaks down as follows:
-
defaults.controlPlanePoolsets the control plane defaults.nodeCountmust be1,3, or5. -
defaults.workerPoolslists default worker pool shapes. Add GPU requirements (gpu.variant,gpu.gpuCount) for GPU pools. -
An optional
edgeblock holds cluster-wide Edge defaults such asntpServersandnetworkOverlayConfig, anddefaultscan also carrysshKeysand adeletionPolicy.
For all fields, complete examples, and validation rules, refer to the ComputeConfig Configuration reference.
-
-
Apply the manifest to the hub cluster.
kubectl apply --filename compute-config.yaml
Validate
- UI Workflow
- YAML Workflow
-
From the left main menu, select Settings, and then select the Compute Config tab.
-
Confirm the new Compute Config appears in the table.
-
To confirm it is usable, start the Compute Pool creation workflow: on the Node config page, select the gear icon to open the Advanced settings drawer and verify the Compute Config appears in the Compute Config drop-down menu.
-
Confirm the
ComputeConfigresource exists.kubectl get computeconfig <compute-config-name> --namespace <project-namespace>Example OutputNAME AGE
my-compute-config 10s
Update or Delete a Compute Config
- UI Workflow
- YAML Workflow
-
From the left main menu, select Settings, and then select the Compute Config tab.
-
Beside the Compute Config, select the three-dot menu, and choose Edit or Delete.
Changes apply to Compute Pools created after the update; existing Compute Pools keep the values they were provisioned with.
Update the manifest and re-apply it, or delete the resource:
kubectl apply --filename compute-config.yaml
kubectl delete computeconfig <compute-config-name> --namespace <project-namespace>
Next Steps
-
Create and Manage Compute Pools — Apply your Compute Config when provisioning a pool.
-
ComputeConfig Configuration — All fields, examples, and validation rules.
-
Deploy a Single-Node Compute Pool — A Compute Config recipe for single-node clusters.