diff --git a/postgresql-ha/values.yaml b/postgresql-ha/values.yaml index 8fd7cf7..17443c0 100644 --- a/postgresql-ha/values.yaml +++ b/postgresql-ha/values.yaml @@ -207,11 +207,16 @@ postgresql: ## @param postgresql.nodeSelector Node labels for PostgreSQL pods assignment ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ ## - nodeSelector: {} + nodeSelector: + tenant: client2 ## @param postgresql.tolerations Tolerations for PostgreSQL pods assignment ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## - tolerations: [] + tolerations: + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule + ## @param postgresql.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods ## @@ -795,11 +800,16 @@ witness: ## @param witness.nodeSelector Node labels for PostgreSQL witness pods assignment ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ ## - nodeSelector: {} + nodeSelector: + tenant: client2 ## @param witness.tolerations Tolerations for PostgreSQL witness pods assignment ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## - tolerations: [] + tolerations: + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule + ## @param witness.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods ## @@ -1300,11 +1310,15 @@ pgpool: ## @param pgpool.nodeSelector Node labels for Pgpool pods assignment ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ ## - nodeSelector: {} + nodeSelector: + tenant: client2 ## @param pgpool.tolerations Tolerations for Pgpool pods assignment ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## - tolerations: [] + tolerations: + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule ## K8s Security Context ## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ ## @param pgpool.podSecurityContext.enabled Enable security context for Pgpool @@ -2239,11 +2253,15 @@ backup: ## @param backup.cronjob.nodeSelector Node labels for PostgreSQL backup CronJob pod assignment ## ref: https://kubernetes.io/docs/user-guide/node-selection/ ## - nodeSelector: {} + nodeSelector: + tenant: client2 ## @param backup.cronjob.tolerations Tolerations for PostgreSQL backup CronJob pod assignment ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## - tolerations: [] + tolerations: + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule storage: ## @param backup.cronjob.storage.existingClaim Provide an existing `PersistentVolumeClaim` (only when `architecture=standalone`) ## If defined, PVC must be created manually before volume will be bound