I am running Kubernetes management 1.28.5-1 and installed a basic production cluster.
After it all installed and runs correctly I tried to use the Kubeconfig file to get cluster info via an other linux server but it fails every time.
kubectl cluster-info
E0820 08:30:40.983751 237406 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
the contents of the config file:
cat $KUBECONFIG
# -*- mode: yaml; -*-
# vim: syntax=yaml
#
apiVersion: v1
kind: Config
clusters:
- name: "my-kube-prd-002"
cluster:
server: https://10.249.8.2:443
certificate-authority-data: LS0<redacted>
users:
- name: default-user-my-kube-prd-002
user:
token: eyJ0<redacted>
contexts:
- context:
cluster: "my-kube-prd-002"
user: default-user-my-kube-prd-002
name: my-kube-prd-002-context
current-context: my-kube-prd-002-context
How to proceed from here?
this manual https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Kubernetes-Engine-v2_10:top-download-kubeconfig-t.html seems at least outdated or incorrect