c12s-kubespray/roles/etcd
Damian Nowak f8a59446e8 Enable OOM killing
When etcd exceeds its memory limit, it becomes useless but keeps running.
We should let OOM killer kill etcd process in the container, so systemd can spot
the problem and restart etcd according to "Restart" setting in etcd.service unit file.
If OOME problem keep repeating, i.e. it happens every single restart,
systemd will eventually back off and stop restarting it anyway.

--restart=on-failure:5 in this file has no effect because memory allocation error
doesn't by itself cause the process to die

Related: https://github.com/kubernetes-incubator/kubespray/blob/master/roles/etcd/templates/etcd-docker.service.j2

This kind of reverts a change introduced in #1860.
2018-02-09 11:00:13 -06:00
..
defaults etcd: ability to enable/disable ETCD_PEER_CLIENT_CERT_AUTH 2018-01-30 11:19:12 +01:00
files Increase SSL TTL to 3650 days 2017-02-24 15:38:13 +01:00
handlers Use include/import tasks (#2192) 2018-01-29 14:37:48 +03:00
meta Refactor downloads to use download role directly (#1824) 2017-10-19 09:17:11 +01:00
tasks Use include/import tasks (#2192) 2018-01-29 14:37:48 +03:00
templates Enable OOM killing 2018-02-09 11:00:13 -06:00