Supervisor - For VKS 3.4.2-embedded+v1.33 'kubectl get kubernetesreleases' command does not show VKr's above v1.32.0
search cancel

Supervisor - For VKS 3.4.2-embedded+v1.33 'kubectl get kubernetesreleases' command does not show VKr's above v1.32.0

book

Article ID: 437041

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

Supervisor has VKS Version 3.4.2-embedded+v1.33 but there is only up to kubernetes release version 1.32 available

When running below command:

kubectl get kubernetesreleases 

# Example output below:

v1.31.1---vmware.2-fips-vkr.2             v1.31.1+vmware.2-fips-vkr.2             False   False        179m
v1.31.4---vmware.1-fips-vkr.3             v1.31.4+vmware.1-fips-vkr.3             True    True         179m
v1.32.0---vmware.6-fips-vkr.2             v1.32.0+vmware.6-fips-vkr.2             True    True         179m


Desired output should be as below:

# Example desired output

v1.32.0---vmware.6-fips-vkr.2             v1.32.0+vmware.6-fips-vkr.2             True    True         2d20h

v1.32.10---vmware.1-fips-vkr.2            v1.32.10+vmware.1-fips-vkr.2            True    True         68m

v1.32.3---vmware.1-fips-vkr.2             v1.32.3+vmware.1-fips-vkr.2             True    True         52m

v1.32.7---vmware.3-fips-vkr.1             v1.32.7+vmware.3-fips-vkr.1             True    True         69m

v1.33.1---vmware.1-fips-vkr.2             v1.33.1+vmware.1-fips-vkr.2             True    True         43m

v1.33.3---vmware.1-fips-vkr.1             v1.33.3+vmware.1-fips-vkr.1             True    True         68m

v1.33.6---vmware.1-fips-vkr.2             v1.33.6+vmware.1-fips-vkr.2             True    True         43m

v1.34.1---vmware.1-vkr.4                  v1.34.1+vmware.1-vkr.4                  False   False        42m

v1.34.2---vmware.2-vkr.2                  v1.34.2+vmware.2-vkr.2                  False   False        69m

v1.35.0---vmware.2-vkr.4                  v1.35.0+vmware.2-vkr.4                  False   False        64m

v1.35.2---vmware.1-vkr.3                  v1.35.2+vmware.1-vkr.3                  False   False        65m

 

Environment

vCenter version:  8.0.3  Build: 25197330

VMware ESXi 8.0.3 build-24859861: 8.0.3

VKS: 3.4.2-embedded+v1.33

Supervisor version: v1.32.7+vmware.5-fips-vsc0.1.13-25049472

Guest Cluster version: v1.32.0---vmware.6-fips-vkr.2

Cause

The 'kubectl get kubernetesreleases' output indicates maybe there is an issue with the vSphere Content Library synchronization. 

The Supervisor cluster populates the available kubernetesreleases (VKrs) by reading the synchronized OVA images from the associated Content Library, and where the VKr v1.33 + are not being displayed a synchronization would be required.

Resolution

Check Content Library to see when it was last synchronized.
If not synchronized recently then synchronized.

Following synchronizing the Content Library check the kubernetes releases with the command once again.

Note - You may notice that there is an error while synchronizing the Content Library and that a certificate need to be trusted in order to continue.
Once certificate is trusted start the synchronization to completion.