vSphere-csi pod crashes when the Node VM gets restarted in VM Based Deployment. When a node VM gets restarted, VRRP entry might be missing in that node and this issues occurs.

Solution

Run the following command inside the deployment container of the deployer host.
root [ ~ ]# cd $HOME/k8s-installer/
root [ ~/k8s-installer ]# export ANSIBLE_CONFIG=$HOME/k8s-installer/scripts/ansible/ansible.cfg LANG=en_US.UTF-8
root [ ~/k8s-installer ]# ansible-playbook scripts/ansible/prepare.yml -e @scripts/ansible/vars.yml --become --tags vrrp