Schedule only on amd64 nodes
This commit is contained in:
parent
a60894fdf0
commit
d554ee0917
@ -15,6 +15,14 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.storage.postgres.storage }}
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- topologyKey: {{ .Values.topologyKey }}
|
||||
@ -25,8 +33,28 @@ spec:
|
||||
backups:
|
||||
pgbackrest:
|
||||
global:
|
||||
repo1-retention-full: "0"
|
||||
repo1-retention-full: "1"
|
||||
repo1-retention-full-type: time
|
||||
repoHost:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
jobs:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
repos:
|
||||
- name: repo1
|
||||
schedules:
|
||||
|
Loading…
Reference in New Issue
Block a user