aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/kubernetes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py
index 74f56ccb..8045fe81 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -97,6 +97,11 @@ class kubernetes(Plugin, RedHatPlugin):
"{} get --raw /metrics".format(kube_cmd)
])
+ # CNV is not part of the base installation, but can be added
+ if self.is_installed('kubevirt-virtctl'):
+ resources.extend(['vms', 'vmis'])
+ self.add_cmd_output('virtctl version')
+
for n in knsps:
knsp = '--namespace=%s' % n
if self.get_option('all'):