mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 21:43:33 +02:00
add config option to change affinity merge behavior
This commit is contained in:
@@ -342,9 +342,14 @@ configuration they are grouped under the `kubernetes` key.
|
||||
a set of labels that a running and active node should possess to be
|
||||
considered `ready`. When the set is not empty, the operator assigns the
|
||||
`nodeAffinity` clause to the Postgres pods to be scheduled only on `ready`
|
||||
nodes. If a `nodeAffinity` is also specified in the postgres cluster
|
||||
manifest both affinities will get merged on the pods. See [user docs](../user.md#use-taints-tolerations-and-node-affinity-for-dedicated-postgresql-nodes)
|
||||
for more details. The default is empty.
|
||||
nodes. The default is empty.
|
||||
|
||||
* **node_readiness_label_merge**
|
||||
If a `nodeAffinity` is also specified in the postgres cluster manifest
|
||||
it will get merged with the `node_readiness_label` affinity on the pods.
|
||||
The merge strategy can be configured - it can either be "AND" or "OR".
|
||||
See [user docs](../user.md#use-taints-tolerations-and-node-affinity-for-dedicated-postgresql-nodes)
|
||||
for more details. Default is "OR".
|
||||
|
||||
* **toleration**
|
||||
a dictionary that should contain `key`, `operator`, `value` and
|
||||
|
||||
Reference in New Issue
Block a user