FEAT(storage): enable HA with replica 2 and soft anti-affinity
- Add replicaCount: 2 to cnpg, pgweb, velero-ui, minio-console - Add soft pod anti-affinity for node distribution - Configure affinity for all storage components
This commit is contained in:
@@ -71,7 +71,7 @@ spec:
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
replicaCount: 1
|
||||
replicaCount: 2
|
||||
|
||||
resources:
|
||||
requests:
|
||||
@@ -87,6 +87,16 @@ spec:
|
||||
env:
|
||||
- name: BASIC_AUTH_ENABLED
|
||||
value: "false"
|
||||
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app: velero-ui
|
||||
topologyKey: kubernetes.io/hostname
|
||||
envFrom: []
|
||||
|
||||
podSecurityContext:
|
||||
|
||||
Reference in New Issue
Block a user