Set statefulset update and management policy explicitly (#515)

* fix logging in retry

* explicitly set the stateful set update strategy to onDelete

* add podManagementPolicy
This commit is contained in:
Sergey Dudoladov
2019-03-13 11:49:18 +01:00
committed by GitHub
parent db72d82f14
commit 0b53dbe5dc
5 changed files with 24 additions and 1 deletions
+5
View File
@@ -226,6 +226,11 @@ configuration they are grouped under the `kubernetes` key.
[topology key](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#interlude-built-in-node-labels)
for pod anti affinity. The default is `kubernetes.io/hostname`.
* **pod_management_policy**
specify the
[pod management policy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies)
of stateful sets of PG clusters. The default is `ordered_ready`, the second possible value is `parallel`.
## Kubernetes resource requests
This group allows you to configure resource requests for the Postgres pods.