vSphere With Tanzu

Solved Issue While deploying Deploying Tanzu Kubernetes “guest” cluster in vSphere with Tanzu

last day while deploying Deploying Tanzu Kubernetes “guest” cluster in vSphere with Tanzu using Three Virtual NICs ( frontend , workload and management ) we faced an issue and when we run the below command, we found below error

C:\bin>kubectl describe tanzukubernetescluster

Dns:
Last Error Message: unable to reconcile kubeadm ConfigMap’s CoreDNS info: unable to retrieve kubeadm Configmap from the guest cluster: configmaps “kubeadm-config” not found
Name:
Status: error
Proxy:
Last Error Message: unable to retrieve kube-proxy daemonset from the guest cluster: daemonsets.apps “kube-proxy” not found
Name:
Status: error

we started troubleshooting this issue and after sometime we noticed something while enabling vSphere With Tanzu (Workload Management) we but Gateway for the Frontend network on the same range the Load Balancer and to solve this overlap we need to edit the VIP ranges of the appliance to do that we ssh to HAProxy and edit the anyip-routes.cfg

vi /etc/vmware/anyip-routes.cfg and we changed the VIP range

after doing that we manged to reach to frontend gateway and we removed the namespace and created it again and redeployed the Cluster and it work fine and deplyed sussefully