Skip to content

Commit

Permalink
Document taint-based eviction (#468)
Browse files Browse the repository at this point in the history
* Document taint-based eviction
  • Loading branch information
sdudoladov committed Feb 20, 2019
1 parent d11b23b commit 2e9b653
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/administrator.md
Expand Up @@ -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 your setup, you may want to adjust these parameters to prevent master pods from being evicted by the Kubernetes runtime.
To prevent eviction completely, specify the toleration by leaving out the `tolerationSeconds` value (similar to how Kubernetes' own DaemonSets are configured)

### Add cluster-specific labels

In some cases, you might want to add `labels` that are specific to a given
Expand Down Expand Up @@ -197,6 +202,7 @@ spec:
...
```


## Custom Pod Environment Variables

It is possible to configure a ConfigMap which is used by the Postgres pods as
Expand Down

0 comments on commit 2e9b653

Please sign in to comment.