Browse Source
Merge pull request #2422 from riverzhang/patch-5
Enable OOM killing for etcd-events
pull/2437/head
RongZhang
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
roles/etcd/templates/etcd-events.j2
|
|
@ -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 %} |
|
|
|