From 7917ee276fa3d0d2988eb20802ff0ca7bf0e8bb1 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Tue, 29 Jan 2019 23:15:43 +0100 Subject: [PATCH] 1st commitgs --- docs/administrator.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/administrator.md b/docs/administrator.md index a69dc99cf..fdd0f0c07 100644 --- a/docs/administrator.md +++ b/docs/administrator.md @@ -146,6 +146,11 @@ data: ... ``` +Note that the Kubernetes version 1.13 brings [taint-based eviction](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/#taint-based-evictions) to the beta stage and enables it by default. +Postgres pods by default receive tolerations for `unreachable` and `noExecute` taints with the timeout of `5m`. +Depending on you setup, you may want to adjust these parameters to prevent master pods from being evicted by Kubernetes runtime. +To prevent eviction completely, specify the toleration without specifying the `tolerationSeconds` value (similar to how Kubernetes own DaemonSets are configured) + ## Custom Pod Environment Variables It is possible to configure a ConfigMap which is used by the Postgres pods as