From 7d6a1a77f892b28a2e60745fe0f1030cbe83965c Mon Sep 17 00:00:00 2001 From: Ilia Glazkov Date: Tue, 15 Oct 2024 10:22:19 -0700 Subject: [PATCH] docs: add k8s RP example to the helm `values.yaml`. (#10027) --- helm/charts/determined/values.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/helm/charts/determined/values.yaml b/helm/charts/determined/values.yaml index b84c62fb6db..8bf58d592b3 100644 --- a/helm/charts/determined/values.yaml +++ b/helm/charts/determined/values.yaml @@ -374,6 +374,35 @@ telemetry: ## Configure the resource pools in the Determined cluster. resourcePools: - pool_name: default +## To set up multiple resource pools for Determined on your Kubernetes cluster +## with custom pod spec or node selectors: +# resourcePools: +# - pool_name: prod_pool +# kubernetes_namespace: default +# task_container_defaults: +# gpu_pod_spec: +# apiVersion: v1 +# kind: Pod +# spec: +# tolerations: +# - key: "pool_taint" +# operator: "Equal" +# value: "prod" +# effect: "NoSchedule" +# affinity: +# # Define an example node selector label. +# nodeSelectorTerms: +# kubernetes.io/hostname: "foo" +# # Define an example node affinity. +# nodeAffinity: +# requiredDuringSchedulingIgnoredDuringExecution: +# nodeSelectorTerms: +# - matchExpressions: +# - key: topology.kubernetes.io/zone +# operator: In +# values: +# - antarctica-west1 +# - antarctica-east1 # defaultAuxResourcePool: default # defaultComputeResourcePool: default