tanzu context create <context> --endpoint https://<supervisor-address> --insecure-skip-tls-verify
[x] : failed to create context "<context>" for a kubernetes cluster, Failed to invoke API on cluster : Get "https://<supervisor-address>:443/version?timeout=1m0s": getting credentials: exec: executable tanzu not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
vSphere with Tanzu
Tanzu CLI
To resolve the issue, add the Tanzu CLI application to system environment:
This PC" in Windows.Properties".Advanced system settings".Advanced" click "Environment Variables".System variables" select "Path" and click "Edit"New" to add the path of Tanzu CLI application.OK to save the change.