helm handles SIGTERM gracefully.
helmfile captures SIGTERM, but does nothing to pass the SIGTERM on to the helm processes to roll back those charts.
This is often painful in CI when many charts get stuck due to a SIGTERM and an immediate shutdown of the agent, once the helmfile process exited. At this time the helm processes might still be working and get killed by the agent, which leaves the chart in the "pending-install" state, from which one can only manually recover.
helmfile should pass the SIGTERM to the child processes and only exit once all child processes exited.
helm
handlesSIGTERM
gracefully.helmfile
capturesSIGTERM
, but does nothing to pass theSIGTERM
on to thehelm
processes to roll back those charts. This is often painful in CI when many charts get stuck due to aSIGTERM
and an immediate shutdown of the agent, once thehelmfile
process exited. At this time thehelm
processes might still be working and get killed by the agent, which leaves the chart in the"pending-install"
state, from which one can only manually recover.helmfile
should pass theSIGTERM
to the child processes and only exit once all child processes exited.