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