I have a remote cluster with several nodes. I'd like to control it remotely from my laptop. So here is what I did:
scp root@remote-master:/root/.kube/config foo
foo
as well) for the master node is used kubectl --kubeconfig foo get node
it returns:
No resources found.
Error from server (NotAcceptable): unknown (get nodes)
I've already checked that the ca.crt
file is created with domain foo
and foo
is resolvable locally on my laptop.
What am I missing?
您的kubectl版本与Kubernetes版本不兼容。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.