sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.28k forks source link

Helm chart: support per-service affinity settings #29066

Open caugustus-sourcegraph opened 2 years ago

caugustus-sourcegraph commented 2 years ago

Currently the helm chart prototype only supports configuration for global affinity settings. Best practice is to define anti-affinity rules between multiple replicas of an instance so they can be forced to schedule on different nodes, but that is currently not allowed.

If possible, add support for per-service affinity settings. As a nice-to-have, allow configuration at the global level as well. Also consider whether tolerations and node selectors could be treated in the same way (per-service settings).

github-actions[bot] commented 2 years ago

Heads up @dan-mckean @caugustus-sourcegraph @kevinwojo - the "team/delivery" label was applied to this issue.