Spread symcrest-web across availability zones
This commit is contained in:
parent
677f00c15a
commit
d9fac9fb88
3 changed files with 30 additions and 0 deletions
|
|
@ -33,6 +33,18 @@ spec:
|
|||
spec:
|
||||
imagePullSecrets:
|
||||
- name: forgejo-registry
|
||||
|
||||
nodeSelector:
|
||||
workload: app
|
||||
|
||||
topologySpreadConstraints:
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
app: symcrest-web
|
||||
maxSkew: 1
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
|
||||
containers:
|
||||
- name: symcrest-web
|
||||
image: "www.symcrest.com/symcrest/symcrest-web:1.0.7"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue