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