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:
@@ -6,7 +6,7 @@ metadata:
|
||||
labels:
|
||||
app: minio-console
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: minio-console
|
||||
@@ -15,6 +15,15 @@ spec:
|
||||
labels:
|
||||
app: minio-console
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app: minio-console
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- name: console
|
||||
image: ghcr.io/georgmangold/console:v1.9.1
|
||||
|
||||
Reference in New Issue
Block a user