feat(vm): add domain jobs info subcommands to vlctl#2280
Merged
Conversation
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
eb7c267 to
20f580d
Compare
danilrwx
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump kubevirt: deckhouse/3p-kubevirt#106
Add two new subcommands to
vlctl domain:jobs— retrieves active domain jobs info via libvirt APIblock-jobs— retrieves active block jobs info via libvirt APINew gRPC methods
GetDomainJobsandGetDomainBlockJobswere added tocmd.protoand implemented in the vlctl client and server.Why do we need it, and what problem does it solve?
Operators and developers need visibility into active domain jobs (e.g., live migration, snapshots) and block jobs (e.g., disk copy, commit) running inside the VM launcher.
Since libvirt only accepts connections from virt-launcher, there is no direct way to query this information from outside the pod.
The new subcommands expose it via
vlctl, making debugging significantly easier.What is the expected result?
vlctl domain jobsinside a virt-launcher pod — receive XML output with current domain jobs.vlctl domain block-jobsinside a virt-launcher pod — receive XML output with current block jobs.Checklist
Changelog entries