Add daemon-selected container monitor delegation

This commit is contained in:
Lyncoln
2026-09-18 14:09:46 -04:00
parent 3937de82dc
commit cbb865729a
6 changed files with 411 additions and 0 deletions
@@ -88,6 +88,16 @@ mc_proxy_monitor()
return "${MC_PROXY_RC_HARD_FAILURE}"
fi
# Delegated monitor execution is a valid control-plane response, but it is
# not itself an OCF observation and must never be written to the healthy
# role cache. The caller validates and executes the packaged runtime path.
case "${response}" in
delegate\|*)
printf '%s\n' "${response}"
return 0
;;
esac
rc="${response%%|*}"
# Cache only healthy daemon-authoritative role observations. An