Enable OOM killing for etcd-events

Enable OOM killing like docker run etcd
This commit is contained in:
RongZhang 2018-03-05 20:46:39 -06:00 committed by GitHub
parent dada98143c
commit 388b627f72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,6 @@
{% if etcd_memory_limit is defined %}
--memory={{ etcd_memory_limit|regex_replace('Mi', 'M') }} \
{% endif %}
--oom-kill-disable \
{% if etcd_cpu_limit is defined %}
--cpu-shares={{ etcd_cpu_limit|regex_replace('m', '') }} \
{% endif %}