mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 03:35:45 +02:00
Update to 2023-08-17 16:00
This commit is contained in:
@@ -149,6 +149,14 @@ plugin "docker" {
|
||||
"{{ label }}",
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
gc {
|
||||
{% for gc in ['image_delay'] %}
|
||||
{% if nomad_conf.client.task_drivers.docker.gc[gc] is defined %}
|
||||
{{ gc }} = "{{ nomad_conf.client.task_drivers.docker.gc[gc] }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,10 @@ RestartSec=5
|
||||
StartLimitInterval=0
|
||||
TasksMax=infinity
|
||||
OOMScoreAdjust=-1000
|
||||
{% if nomad_conf.client.enabled %}
|
||||
# Give Nomad some time to drain the node
|
||||
TimeoutStopSec=3600
|
||||
{% endif %}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user