How can i reach my k3d cluster with kubectl?

Viewed 23

My kubectl can't connect to k3d cluster. My spec:

  • Docker version 20.10.18
  • kubectl: v1.25.1
  • Kustomize Version: v4.5.7
  • k3d version v5.4.6
  • k3s version v1.24.4-k3s1 (default)

When i run

k3d cluster create testcluster

the cluster is ready, but when i test it with kubectl

kubectl cluster-info

Nothing happen...

Any suggestion?

0 Answers
Related