This commit is contained in:
2026-08-18 09:39:33 +02:00
parent 69b0216521
commit 0e8edcd5c0
119 changed files with 0 additions and 20366 deletions
-18
View File
@@ -1,18 +0,0 @@
# Restart worker deployment and wait until ready.
function workerRestart() {
k3sRun rollout restart deployment/"$workerKube" || return 1
k3sRun rollout status deployment/"$workerKube" --timeout=180s
}
# Pause the worker agent via control file.
function workerAgentStop() {
printf '%s\n%s\n%s\n' "action=pause" "status=$taskStatusExecution" "start=$(date +%s)" > "$workerTasksPath/pause.task" || {
appError "Failed to write pause task: $workerTasksPath/pause.task"
return 1
}
}
# Remove pause flag for the worker agent.
function workerAgentStart() {
rm -f "$workerTasksPath/pause.task"
}