Tanzu

  • 1.  Tanzu CLI not connecting (Error: current server not found in tanzu config)

    Posted Jan 05, 2022 01:06 PM

    Can someone help me out with this Tanzu CLI error?

    I used Tanzu Community Edition to create a K8s cluster on my home lab (single host Intel Nuc + ESXI + VCenter). I used:
      tanzu standalone-cluster create --ui
    to start the web UI through which I configured the standalone k8s cluster with a new cluster name.

    Then, when I try to see or scale my k8s cluster, all tanzu commands always return an error: 
      Error: current server "" not found in tanzu config

    One other observation:
      tanzu config server list returns an empty table

    (I know creating the k8s cluster was successful. I obtained the k8s context into my ~/.kube/config file. Then I ran
      kubectl get nodes to confirm that the nodes were up. This is the only k8s cluster it can access so I know it was successful.)



  • 2.  RE: Tanzu CLI not connecting (Error: current server not found in tanzu config)

    Posted Jan 06, 2022 01:09 PM

    Some responses in the Reddit post here: https://www.reddit.com/r/Tanzu/comments/rwnv4h/errors_from_tanzu_cli/

    As an open source project, there isn't much attention on communities.vmware.com for questions related to Tanzu Community Edition. Please join us on Slack or GitHub if you need anything.

    Thanks for trying out TCE!



  • 3.  RE: Tanzu CLI not connecting (Error: current server not found in tanzu config)

    Broadcom Employee
    Posted Jan 21, 2022 11:00 AM

    You probably just need a "tanzu login" and then to select the cluster that you just created.



  • 4.  RE: Tanzu CLI not connecting (Error: current server not found in tanzu config)

    Posted Sep 27, 2022 07:58 PM

    I think there are the many ways to fixing this errors or bugs sometime you have to put up the right option of it. Then it will helps to sort up the issue