Unable to communicate with the k8s API server

We are running into this issue where when we spin up a k8s cluster using rancher, the containers fail with Failed to list *v1.Service: the server has asked for the client to provide credentials.

We have followed this thread https://github.com/kubernetes/kubernetes/issues/24829 and deleted the secret and it hasn’t helped either.

We are running rancher/server:stable and rancher/agent:v1.2.6

Any clue as to why is this happening?

Thanks