kubectl get pods -A | egrep "NAMESPACE|etcd|apiserver"
An unhealthy environment displays a high number of restarts for these components, as seen in the example below:# kubectl get pods -A | egrep "NAMESPACE|etcd|apiserver"NAMESPACE NAME READY STATUS RESTARTS AGEkube-system etcd-################################ 1/1 Running 13 (36m ago) 204dkube-system etcd-################################ 1/1 Running 2 (32m ago) 204dkube-system etcd-################################ 1/1 Running 29 (27m ago) 204dkube-system kube-apiserver-################################ 1/1 Running 178 (36m ago) 204dkube-system kube-apiserver-################################ 1/1 Running 232 (32m ago) 204dkube-system kube-apiserver-################################ 1/1 Running 327 (27m ago) 204d
/var/log/vmware/wcp/wcpsvc.log in the vCenter server indicate a Readiness Status of Unknown Condition for various nodes:[YYYY-MM-DDTHH:MM:SS] debug wcp [kubelifecycle/node_reflector.go:124] Handling update for node 4200##########################d9 with status unknown. [YYYY-MM-DDTHH:MM:SS] debug wcp [kubelifecycle/node_reflector.go:124] Handling update for node 4200d9 with status unknown.##########################[YYYY-MM-DDTHH:MM:SS] debug wcp [kubelifecycle/node_reflector.go:124] Handling update for node 4200d9 with status unknown.##########################[YYYY-MM-DDTHH:MM:SS] debug wcp [kubelifecycle/node_reflector.go:124] Handling update for node 420020 with status unknown. ##########################[YYYY-MM-DDTHH:MM:SS] debug wcp [kubelifecycle/node_reflector.go:124] Handling update for node 420020 with status unknown.##########################
VMware vSphere Kubernetes Service
This issue occurs when a non-critical baseline attaches to the Supervisor Cluster, resulting in the installation of an incompatible spherelet version on the control plane nodes.
Detach the offending baseline to address the incompatible spherelet version and ensuring the Supervisor version remains current.
Remove the predefined host patch baselines from the cluster to prevent further installation of incompatible spherelet components.
Review and detach the following baselines:
Non-Critical Host Patches (Predefined)
Host Security Patches (Predefined)
Critical Host Patches (Predefined)
Upgrade the Supervisor Cluster to a compatible version to ensure the correct spherelet versions deploy across the environment. For detailed instructions, see Upgrade a Supervisor.