Tarmily Wen
11/22/2022, 5:30 PMYee
Tarmily Wen
11/22/2022, 10:33 PMk8s:
plugins:
# -- Configuration section for all K8s specific plugins [Configuration structure](<https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/pluginmachinery/flytek8s/config>)
k8s:
default-env-vars: []
# DEFAULT_ENV_VAR: VALUE
default-cpus: 100m
default-memory: 100Mi
resource-tolerations:
- <http://nvidia.com/gpu|nvidia.com/gpu>:
- key: "flyte/gpu"
operator: "Equal"
value: "dedicated"
effect: "NoSchedule"
But in order for a node pool to have a taint that matches these tolerations, I would need to taint them after helm installation. Is there a way to avoid doing the manual step of looking up node pools and setting the taint? It would be ideal if the node pool creator would apply taints to a few node pools.Yee
Tarmily Wen
11/22/2022, 11:56 PM