talos
talos copied to clipboard
tracking progress of "action" API calls
Feature Request
In the talosctl CLI track progress of the operations:
- reboot
- reset
- shutdown
- upgrade
.. make the UX better by providing the progress of the operation (10% done, failed, etc.), tracking the progress over the reboot as well (if possible) by waiting for the API to be available after an upgrade.
Tracking progress is the default behavior.
Additional flags:
--no-waitto restore current fire-and-forget behaviour--debugto streamdmesgfrom the involved nodes for debugging issues
(NB: this should work with multiple --nodes).
Description
Idea: for upgrade, apply-config (in reboot mode) and reboot we should wait for the node to reboot and come back.
- we can use Events API to track the progress
apidshould be kept running as long as possible, possibly it should have a chance to flush the data before stopping- we can add
actor IDto the sequence runner and that gets embedded into the event - these API calls should return
actor IDto the client so that client can filter out events on actor ID