1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

deploy: add anti-affinity for registry-proxy pods (PROJQUAY-8839) (#3838)

* deploy: add anti-affinity for registry-proxy pods (PROJQUAY-8839)

the registry proxy pods compete for CPU resources. Make sure
we don't schedule them with the quay pods

* update to use part-of
This commit is contained in:
Syed Ahmed
2025-04-30 11:55:50 -04:00
committed by GitHub
parent 3f34e3a822
commit 5e2132192d

View File

@@ -160,6 +160,16 @@ objects:
serviceAccountName: ${{NAME}}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: part-of
operator: In
values:
- registry-proxy
namespaceSelector: {}
weight: 100
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm: