kubectl get osimages on a vSphere Supervisor, TKR OSImages are missing from the list that are sourced from a subscribed Content Library. .kubectl get clustervirtualmachineimage shows the image name, but fields such as IMAGE VERSION, OS NAME, and OS VERSION are empty.Product: VMware vSphere Kubernetes Service (VKS) / Tanzu Kubernetes Grid (TKG)
Version: vSphere 8.x / 9.x
The issue is caused by the loss of vApp properties (vAppConfig) within the OVF descriptor.
VKS requires specific metadata embedded in the OVF to identify it as a valid Kubernetes OSImage. When an image is converted into a VM or VM template (e.g., to manually resize the virtual disk) and then exported back to a Content Library, the vApp properties are stripped. Without these properties, the Supervisor's registry controller cannot recognize the item as a valid node template
To resolve this, you must re-import a valid image and use supported methods for disk expansion.
Check the files associated with the Content Library item in the vSphere Client.
.nvram file (e.g., image_name.nvram), this confirms the image was exported from a VM and is missing the required vApp metadata.If your workloads require additional disk space (e.g., for security agents or logging), do not modify the base OS image disk. Instead, use one of the following:
disk_size extension variable to define the required size during the initial build. This ensures vApp properties are preserved.