anti affinity
This commit is contained in:
@@ -56,7 +56,7 @@ metadata:
|
||||
namespace: cnpg-cluster-16
|
||||
spec:
|
||||
affinity:
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
topologyKey: kubernetes.io/hostname
|
||||
bootstrap:
|
||||
initdb: null
|
||||
enablePDB: true
|
||||
|
||||
@@ -247,7 +247,7 @@ cluster:
|
||||
# -- Affinity/Anti-affinity rules for Pods.
|
||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration
|
||||
affinity:
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
||||
# -- The configuration for the CA and related certificates.
|
||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-CertificatesConfiguration
|
||||
|
||||
Reference in New Issue
Block a user