From 30e4ad0d3d6f691f273231266c10e818b56e41fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20P=C3=A9rez?= Date: Tue, 13 Apr 2021 14:00:15 +0200 Subject: [PATCH] Postgres selector and tolerations description included in README.md --- README.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1920685c..1be5b2e9 100644 --- a/README.md +++ b/README.md @@ -325,15 +325,17 @@ spec: #### Assigning AWX pods to specific nodes -You can constrain the AWX pods created by the operator to run on a certain subset of nodes. `tower_node_selector` constrains -the AWX pods to run only on the nodes that match all the specified key/value pairs. `tower_tolerations` allow the AWX +You can constrain the AWX pods created by the operator to run on a certain subset of nodes. `tower_node_selector` and `tower_postgres_selector` constrains +the AWX pods to run only on the nodes that match all the specified key/value pairs. `tower_tolerations` and `tower_postgres_tolerations` allow the AWX pods to be scheduled onto nodes with matching taints. -| Name | Description | Default | -| ------------------- | ---------------------- | ------- | -| tower_node_selector | AWX pods' nodeSelector | '' | -| tower_tolerations | AWX pods' tolerations | '' | +| Name | Description | Default | +| -------------------------- | --------------------------- | ------- | +| tower_node_selector | AWX pods' nodeSelector | '' | +| tower_tolerations | AWX pods' tolerations | '' | +| tower_postgres_selector | Postgres pods' nodeSelector | '' | +| tower_postgres_tolerations | Postgres pods' tolerations | '' | Example of customization could be: @@ -350,6 +352,15 @@ spec: operator: "Equal" value: "AWX" effect: "NoSchedule" + tower_postgres_selector: | + disktype: ssd + kubernetes.io/arch: amd64 + kubernetes.io/os: linux + tower_postgres_tolerations: | + - key: "dedicated" + operator: "Equal" + value: "AWX" + effect: "NoSchedule" ``` #### LDAP Certificate Authority