VMware vSphere

 View Only
  • 1.  tanzu unable create guest cluster

    Posted Jun 24, 2021 07:35 AM

    kubectl -n tanzu apply -f tkg-cluster20.yaml

    unexpected error while reconciling control plane endpoint for tkg-cluster: failed to reconcile loadbalanced endpoint for WCPCluster tanzu/tkg-cluster: failed to get control plane endpoint for Cluster tanzu/tkg-cluster: VirtualMachineService LB does not yet have VIP assigned: VirtualMachineService LoadBalancer does not have any Ingresses

    error creating client and cache for remote cluster: error fetching REST client config for remote cluster "tanzu/tkg-cluster": failed to retrieve kubeconfig secret for Cluster tanzu/tkg-cluster: secrets "tkg-cluster-kubeconfig" not found

    vm is not yet created: vmware-system-capw-controller-manager/WCPMachine//tanzu/tkg-cluster/tkg-cluster-control-plane-rbqrq-sgtk5

    vm prerequisites check fails: vmware-system-capw-controller-manager/WCPMachine//tanzu/tkg-cluster/tkg-cluster-control-plane-rbqrq-sgtk5



  • 2.  RE: tanzu unable create guest cluster

    Broadcom Employee
    Posted Jun 30, 2021 09:02 AM

    Hi,

    is this a VDS/haproxy or NSX-T deployment?

    Regards,
    Patrik



  • 3.  RE: tanzu unable create guest cluster

    Posted Jul 13, 2021 06:46 PM

    We have same issue.

    NSX-T Deployment



  • 4.  RE: tanzu unable create guest cluster

    Posted Jul 20, 2021 07:45 PM

    Same thing happens to me. This error apeares with my vSphere 70u2 lab.

    To confirm that your problem is the same I had, after the failure type this:

    kubectl get virtualmachines

    You will see the first virtual machine that your YAML tries to deploy. After that, type this:

    kubectl describe virtualmachine <<name_of_virtual_machine>>

    In my case I saw the following error: VirtualMachineClassBindingNotFound. This is because of the introduction of the VM Service in vSphere 7.0u2. In this version, when you create a new Namespace, no VirtualMachineClass is associated by default. You must do it manually.

    Go to vSphere Client, click in your namespace, Summary, you will find this:

    bdamian_0-1626810203411.png

    Click on "Manage VM Classes" and assign those you want. Then you can use those classes on your Yaml file.

    Hope this helps.

    D.



  • 5.  RE: tanzu unable create guest cluster

    Posted Dec 14, 2021 01:11 PM

    I had similar problem and by attaching virtualmachineclass, it worked...