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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user