I am deploying Gitpod on a shared GKE cluster with multiple nodepools.
Affinity works fine for Deployments
I am using something like in my values.yaml file:
affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: "gitpod.io" operator: "In" values: ["true"]
But it looks like the Daemonsets (registry-facade, ws-daemon) don’t use the affinity spec that is defined this way.
There is also doesn’t seems to be a way to set tolerations for Gitpod resources.
Any idea, how to ensure these Daemonsets are only spawned on nodes that will serve Gitpod workspaces ?