alloy and prometheus restart-policy update #54

Merged
ammaratef45 merged 1 commits from restart-policy into main 2026-10-25 09:21:23 +00:00
Owner

when containers receive a sigterm and exit gracefully (for whatever weird reasons triggered that on the server) they don't come back alive

hoping this change makes my life better xd

when containers receive a sigterm and exit gracefully (for whatever weird reasons triggered that on the server) they don't come back alive hoping this change makes my life better xd
ammaratef45 added 1 commit 2026-10-24 06:19:46 +00:00
CODEOWNERS rules requested review from monitoring-ng-maintainers 2026-10-24 06:19:46 +00:00
p4u1 approved these changes 2026-10-25 08:32:29 +00:00
ammaratef45 merged commit ebcb12163f into main 2026-10-25 09:21:23 +00:00
ammaratef45 deleted branch restart-policy 2026-10-25 09:21:23 +00:00
Owner

@ammaratef45 Did this work for you? I'm getting
FATA failed to update <stack_name>_prometheus: Error response from daemon: invalid RestartCondition: "unless-stopped"

Looks like unless-stopped isn't supported by Swarm.

@ammaratef45 Did this work for you? I'm getting FATA failed to update <stack_name>_prometheus: Error response from daemon: invalid RestartCondition: "unless-stopped" Looks like unless-stopped isn't supported by Swarm.
Owner

i just changed it to any!

i just changed it to `any`!
Author
Owner

huh, sorry, I may have copied it from another recipe and didn't test it, @fauno thanks for fixing it!

huh, sorry, I may have copied it from another recipe and didn't test it, @fauno thanks for fixing it!
Sign in to join this conversation.