Update to 2023-08-17 16:00

This commit is contained in:
Daniel Berteaud
2023-08-17 16:00:21 +02:00
parent 846c668216
commit cc7c11ba8a
20 changed files with 611 additions and 35 deletions

View File

@@ -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 %}
}
}
}

View File

@@ -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