There are few things that might help:
~/.kube/config
kubectl config view
Is current-context set to: microk8s?
current-context
kubectl config get-contexts
kubectl config set-context
kubectl config use-context