c12s-kubespray/roles/etcd/templates
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
..
etcd-docker.service.j2 Improve etcd scale up (#1846) 2017-10-20 08:02:31 +01:00
etcd-host.service.j2 Add etcd proxy support 2016-07-19 14:09:40 +02:00
etcd-rkt.service.j2 add /etc/hosts volume to rkt templates 2017-10-09 16:41:51 +02:00
etcd.env.j2 etcd: ability to enable/disable ETCD_PEER_CLIENT_CERT_AUTH 2018-01-30 11:19:12 +01:00
etcd.j2 Enable OOM killing 2018-02-09 11:00:13 -06:00
openssl.conf.j2 Fix DNS entries in etcd's openssl.conf by adding a newline. (#2208) 2018-01-30 16:26:58 +03:00