after setting up my cluster tried to connect to my cluster. test everything is fine. but getting below error.

command i executed:
kubectl get svc

Error i get:

Unable to connect to the server: getting credentials: decoding stdout: no kind "ExecCredential" is registered for version "client.authentication.k8s.io/v1alpha1" in scheme "pkg/client/auth/exec/exec.go:62"