workspace

by KAITO

Helm chartv0.13.0App 0.13.0Apache-2.0Verified publisher

A Helm chart to install AI Toolchain Operator Workspace

About this chart

KAITO Workspace Helm Chart

Install

export REGISTRY=mcr.microsoft.com/aks/kaito
export IMG_NAME=workspace
export IMG_TAG=0.13.0
helm install workspace ./charts/kaito/workspace  \
--set image.repository=${REGISTRY}/${IMG_NAME} --set image.tag=${IMG_TAG} \
--namespace kaito-workspace --create-namespace

Values

KeyTypeDefaultDescription
affinityobject{}Pod affinity rules.
image.pullPolicystring"IfNotPresent"Allowed values: Always, IfNotPresent, Never.
image.repositorystringmcr.microsoft.com/aks/kaito/workspaceController image repository.
image.tagstring"0.13.0"Controller image tag.
imagePullSecretslist[]List of image pull secret references ([{name: <secret>}]).
nodeSelectorobject{"kubernetes.io/os": "linux"}Controller pod node selector.
podAnnotationsobject{}Extra annotations added to the controller pod.
podSecurityContext.runAsUserint1000UID the controller runs as. Must be non-zero (runAsNonRoot).
podSecurityContext.runAsGroupint1000GID the controller runs as.
podSecurityContext.runAsNonRootbooltrueAllowed values: true, false. Must stay true on restricted PSS clusters.
podSecurityContext.seccompProfile.typestring"RuntimeDefault"Allowed values: RuntimeDefault, Localhost, Unconfined.
presetRegistryNamestring"mcr.microsoft.com/aks/kaito"Registry used to pull preset inference/tuning images.
replicaCountint1Controller replicas. Non-negative integer; leader election enables HA when >1.
deploymentStrategy.rollingUpdate.maxUnavailableint / string1Integer or percentage string (e.g. "50%") per Kubernetes rolling update semantics.
resources.limits.cpustring"500m"Kubernetes CPU quantity.
resources.limits.memorystring"128Mi"Kubernetes memory quantity.
resources.requests.cpustring"10m"Kubernetes CPU quantity.
resources.requests.memorystring"64Mi"Kubernetes memory quantity.
securityContext.allowPrivilegeEscalationboolfalseAllowed values: true, false.
securityContext.readOnlyRootFilesystembooltrueAllowed values: true, false.
securityContext.capabilities.drop[0]string"ALL"Linux capability name, or the special value ALL.
defaultNodeImageFamilystring""Default NodeClaim image-family annotation. Only used by the GPU provisioner path (not karpenter). Allowed values: "" (treated as ubuntu), ubuntu, azurelinux. Any other value causes controller startup failure.
nodeProvisionerstring"azure-gpu-provisioner"Node provisioner type. Allowed values: azure-gpu-provisioner, karpenter, byo.
karpenterProviderstring"azure"Selects which provider block under karpenterProviders to use. Only used when nodeProvisioner=karpenter.
karpenterProviders.azure.groupstring"karpenter.azure.com"Karpenter NodeClass API group.
karpenterProviders.azure.kindstring"AKSNodeClass"Karpenter NodeClass API kind.
karpenterProviders.azure.versionstring"v1beta1"Karpenter NodeClass API version.
karpenterProviders.azure.resourceNamestring"aksnodeclasses"Plural resource name for the NodeClass CRD. Combined with group to form the full CRD name.
karpenterProviders.azure.nodeClasseslist(see values.yaml)NodeClass definitions to reconcile at startup, and the allowlist for the kaito.sh/node-class-name annotation. Exactly one entry must have default: true. Each entry has name, spec, and optionally default: true. Passed to the controller as --karpenter-node-classes, so changing it rolls the Deployment.
tolerationslist[]Controller pod tolerations.
webhook.portint9443Webhook HTTPS port. Valid TCP port (1–65535); must not conflict with other container ports.
logging.levelstring"error"Knative zap logging level. Allowed values: debug, info, warn, error, dpanic, panic, fatal.
cloudProviderNamestring"azure"Cloud provider identifier propagated as the CLOUD_PROVIDER env var. Allowed values: azure, aws, arc.
clusterNamestring"kaito"Logical Kubernetes cluster name used in controller labels/metrics.
spotInstance.enabledboolfalseAllowed values: true, false. When true, adds the Azure Spot toleration so workloads can be scheduled on Spot GPU node pools.
localCSIDriver.useLocalCSIDriverbooltrueAllowed values: true, false. Enables use of the bundled local CSI driver.
nvidiaDevicePlugin.enabledbooltrueAllowed values: true, false. Set to false if the cluster already has an NVIDIA device plugin (e.g., via GPU Operator).
nvidiaDevicePlugin.daemonsetNamestring"nvidia-device-plugin-daemonset"DNS-1123 name of the generated DaemonSet.
nvidiaDevicePlugin.imagestring"mcr.microsoft.com/oss/v2/nvidia/k8s-device-plugin:v0.20.1-5"Full image reference for the device plugin container.
nvidiaDevicePlugin.imagePullPolicystring"IfNotPresent"Allowed values: Always, IfNotPresent, Never.
featureGates.vLLMbooltrueAllowed values: true, false. Enables the vLLM inference runtime feature gate.
featureGates.disableNodeAutoProvisioningboolfalseAllowed values: true, false. When true, disables Node Auto-Provisioning (NAP) and installs the gpu-feature-discovery subchart as a standalone replacement.
featureGates.gatewayAPIInferenceExtensionboolfalseAllowed values: true, false. Enables the Gateway API Inference Extension (also gates installation of the GAIE subchart).
featureGates.enableInferenceSetControllerbooltrueAllowed values: true, false. Enables the InferenceSet controller and its RBAC.
gpu-feature-discovery.nfd.enabledbooltrueAllowed values: true, false. Set to false if NFD is already installed (e.g., via the NVIDIA GPU Operator) to avoid CRD conflicts. Only applies when the GFD subchart is active (featureGates.disableNodeAutoProvisioning=true).
gpu-feature-discovery.gfd.enabledbooltrueAllowed values: true, false. Set to false if GFD is already installed (e.g., via the NVIDIA GPU Operator). Only applies when the GFD subchart is active (featureGates.disableNodeAutoProvisioning=true).

Karpenter NodeClass Updates

When nodeProvisioner=karpenter, KAITO reconciles the configured NodeClasses at controller startup. Missing resources are created. Existing resources must have karpenter.kaito.sh/managed-by: kaito; otherwise startup fails without adopting them.

The configured spec is authoritative: omitted fields are removed, subject to defaults applied by the provider API. KAITO also synchronizes its default label, while preserving unrelated metadata and status. Changing the chart values rolls the controller Deployment and applies the new configuration. Manual edits are not continuously reconciled, but may be overwritten on the next restart.

Removing an entry does not delete its NodeClass; it only removes the name from the Workspace selection allowlist. Spec updates may trigger Karpenter drift and node replacement according to the NodePool disruption policies.

NVIDIA GPU Operator Coexistence

If your cluster already has the NVIDIA GPU Operator installed, it provides its own Node Feature Discovery (NFD) and GPU Feature Discovery (GFD) components. Installing KAITO's bundled copies will cause CRD and resource conflicts.

How the GFD subchart is controlled

The gpu-feature-discovery subchart is only installed when featureGates.disableNodeAutoProvisioning=true. By default, this value is false, so the GFD subchart is not deployed and no NFD/GFD conflicts will occur.

If you have disabled Node Auto-Provisioning (NAP) and the GFD subchart is being installed, you can selectively disable its NFD and GFD components to avoid conflicts with the GPU Operator:

helm install workspace ./charts/kaito/workspace \
  --namespace kaito-workspace --create-namespace \
  --set featureGates.disableNodeAutoProvisioning=true \
  --set gpu-feature-discovery.nfd.enabled=false \
  --set gpu-feature-discovery.gfd.enabled=false

If you also want to skip the bundled NVIDIA device plugin (because the GPU Operator already provides one):

helm install workspace ./charts/kaito/workspace \
  --namespace kaito-workspace --create-namespace \
  --set featureGates.disableNodeAutoProvisioning=true \
  --set gpu-feature-discovery.nfd.enabled=false \
  --set gpu-feature-discovery.gfd.enabled=false \
  --set nvidiaDevicePlugin.enabled=false

Note: If you are using the default configuration (featureGates.disableNodeAutoProvisioning=false), the gpu-feature-discovery subchart is not installed at all, and no NFD/GFD overrides are needed.

Deploy workspace with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has workspace on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartworkspace is pinned at v0.13.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply