Repository navigation
feat(infra): add node drain, uncordon, restart and reboot - #6706
Conversation
Checks on the branch (head after the rebase onto
|
The live runs of the node commands do not need the merge. They wait until the host of the acceptance criteria is back in service, because the command refuses a host in the group offline of the inventory.
Correction: the live runs do not need the mergeThe earlier comment says that the two live runs of the acceptance criteria need the merge. That is not correct. The command runs from a checkout of this branch with What holds the live runs nowThe host of the acceptance criteria (
An agent run at the level Audit record ( Owner decisionThe live runs of
No agent ran a drain, a restart or a reboot of a host in service for this pull request. |
Review points for the owner
|
🤖 I have created a release *beep* *boop* --- ## [0.191.0](v0.190.0...v0.191.0) (2026-11-22) ### Features * **infra:** add node drain, uncordon, restart and reboot ([#6706](#6706)) ([8af846c](8af846c)), closes [#5128](#5128) * **monitoring:** keep the cAdvisor container_threads series ([#6711](#6711)) ([349adda](349adda)) ### Bug Fixes * **ci:** check release image job times in devops ci job-time ([#6635](#6635)) ([1b1a25e](1b1a25e)) * **k8s:** narrow the in-namespace egress of the object store ([#6712](#6712)) ([f14cb8b](f14cb8b)), closes [#6707](#6707) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
devops infra node drain|uncordon|restart|reboot <repo> <host>...changesthe nodes of the given hosts one at a time, in order.
drainruns the healthgate, the drain check and
kubectl drain.uncordonrunskubectl uncordon, then the health gate.restartandrebootdrain, restart theunit of
devops_infra_node_serviceor reboot with an Ansible ad-hoc task,wait for Ready (a reboot also for a new boot ID), uncordon only a node that
was schedulable before, and run the health gate. A reboot shows the kernel
before and after.
An agent needs
safeforuncordonandfullfor the others. Only a personpasses
--force. The first failure stops the run and leaves the nodecordoned. Each run writes the audit record
infra.node.<operation>and addsto
devops_cli_infra_runs_total.infra/ad_hoc.pyruns the ad-hoc tasks,also for
devops infra status --ping.Closes #5128
Change:
openspec/changes/archive/2026-11-21-5128-node-drain-reboot/