Skip to main content

Guest Insight

zorvia guest-insight summarizes KubeVirt VMI guest integration from status alone. It reports phase, node, QEMU Guest Agent detection, guest OS/kernel metadata, interfaces, a readiness score (0โ€“100), and recommendations โ€” without logging into the VM.

CLIโ€‹

zorvia --namespace production guest-insight payments-01
zorvia --namespace production guest-insight payments-01 -o json
zorvia --namespace production guest-insight payments-01 -o yaml
zorvia --namespace production guest-insight payments-01 --strict
FlagMeaning
-o table|json|yamlOutput format (default table)
--strictNon-zero exit when the QEMU Guest Agent is not connected

Example table outputโ€‹

Zorvia Guest Insight

VM: production/payments-01
Phase: Running
Node: worker-3
Guest Agent: connected
Readiness: 90/100
Guest OS: Ubuntu 22.04.4 LTS
Kernel: 5.15.0-105-generic

Interfaces:
- eth0 52:54:00:โ€ฆ 10.244.1.42

HTTP APIโ€‹

curl -sk -H "Authorization: Bearer $TOKEN" \
https://HOST:30152/api/vms/payments-01/guest-insight

Returns the same report shape used by the CLI (agent_state, readiness_score, os_*, interfaces, recommendations).

How it worksโ€‹

KubeVirt surfaces guest-agent data on the VMI status when the agent is connected. Zorvia maps that into GuestInsightReport (src/guest_insight). No guest credentials are required.

  • Wait for Ready + IP: zorvia wait-ready <vm>
  • Web metrics: GET /api/vms/:name/metrics (guest OS / filesystem when the agent is up)
  • WEB_CONSOLE.md ยท DRIFT_GUARD.md