In Tanzu Kubernetes Grid Integrated Edition, CNS Running on vSphere 6.7 Shows The Resizer Failing with "failed to check if plugin supports node resize"
book
Article ID: 316795
calendar_today
Updated On:
Products
VMware Tanzu Kubernetes Grid Integrated Edition
Issue/Introduction
Symptoms:
You see messages similar to the following in the csi-resizer container/sidecar events (when describingf the vsphere-csi controller pod):
failed to check if plugin supports node resize: error getting node capabilities: rpc error: code = Unimplemented desc = unknown service csi.v1.Node".
The vSphere version in use is 6.7
Environment
VMware PKS 1.x
Resolution
This is expected behavior as the csi-resizer is used for volume expansion which is not supported in vSphere 6.7. See the vSphere CSI Driver feature support matrix.
Upgrade vSphere to 7.0 or later and use CSI 2.0 or later to set up CNS.
Workaround: Remove the resizer sidecar from the vsphere-csi controller manifest by deleting the "csi-resizer" section before applying the manifests to setup CNS. If CNS is already setup can apply the changed manifest using kubectl apply -f <manifest.yaml>.
The example csi-resizer section to remove looks like the following: