Merge "Prevent gitea pods from being co-scheduled"
This commit is contained in:
commit
5bcdb4029e
@ -71,3 +71,13 @@ spec:
|
|||||||
- name: secrets
|
- name: secrets
|
||||||
secret:
|
secret:
|
||||||
secretName: gitea-app
|
secretName: gitea-app
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- gitea
|
||||||
|
topologyKey: "kubernetes.io/hostname"
|
||||||
|
Loading…
Reference in New Issue
Block a user