gpu-provisioner

by KAITO

Helm chartv0.2.0App 0.2.0Verified publisher

A Helm chart for gpu-provisioner

About this chart

Karpenter Azure provider gpu-provisioner

A Helm chart for gpu-provisioner

Installing the Chart

To install the chart with the release name gpu-provisioner:

helm install gpu-provisioner ./charts/gpu-provisioner --namespace=gpu-provisioner --create-namespace

Values

KeyTypeDefaultDescription
additionalAnnotationsobject{}Additional annotations to add into metadata.
additionalLabelsobject{}Additional labels to add into metadata.
affinityobject{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"karpenter.sh/provisioner-name","operator":"DoesNotExist"}]}]}}}Affinity rules for scheduling the pod.
controller.envlist[]Additional environment variables for the controller pod.
controller.errorOutputPathslist["stderr"]Controller errorOutputPaths - default to stderr only
controller.extraVolumeMountslist[]Additional volumeMounts for the controller pod.
controller.image.repositorystringmcr.microsoft.com/aks/kaito/gpu-provisioner
controller.image.tagstring0.2.0
controller.logEncodingstring""Controller log encoding, defaults to the global log encoding
controller.logLevelstring""Controller log level, defaults to the global log level
controller.outputPathslist["stdout"]Controller outputPaths - default to stdout only
controller.resourcesobject{"limits":{"cpu":1,"memory":"1Gi"},"requests":{"cpu":1,"memory":"1Gi"}}Resources for the controller pod.
controller.securityContextobject{}SecurityContext for the controller container.
controller.sidecarContainerobject{}Additional sideCarContainer config - this will also inherit volume mounts from deployment
dnsConfigobject{}Configure DNS Config for the pod
dnsPolicystring"Default"Configure the DNS Policy for the pod
extraVolumeslist[]Additional volumes for the pod.
fullnameOverridestring""Overrides the chart's computed fullname.
hostNetworkboolfalseBind the pod to the host network. This is required when using a custom CNI.
imagePullPolicystring"IfNotPresent"Image pull policy for Docker images.
imagePullSecretslist[]Image pull secrets for Docker images.
logEncodingstring"console"Gloabl log encoding
logLevelstring"debug"Global log level
nameOverridestring""Overrides the chart's name.
nodeSelectorobject{"kubernetes.io/os":"linux"}Node selectors to schedule the pod to nodes with labels.
podAnnotationsobject{}Additional annotations for the pod.
podDisruptionBudget.maxUnavailableint1
podDisruptionBudget.namestring"karpenter"
podLabelsobject{}Additional labels for the pod.
podSecurityContextobject{"fsGroup":1000}SecurityContext for the pod.
priorityClassNamestring"system-cluster-critical"PriorityClass name for the pod.
replicasint2Number of replicas.
revisionHistoryLimitint10The number of old ReplicaSets to retain to allow rollback.
serviceAccount.annotationsobject{}Additional annotations for the ServiceAccount.
serviceAccount.createbooltrueSpecifies if a ServiceAccount should be created.
serviceAccount.namestring""The name of the ServiceAccount to use. If not set and create is true, a name is gen

Deploy gpu-provisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gpu-provisioner 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 chartgpu-provisioner is pinned at v0.2.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