In my case my problem was with aws credentials not being set correctly in my shell session, thats why k9s
could not get cluster data (pods, namespaces ...) and kubectl
commands where not working either.
Make sure whatever shell session you open to run k9s
in, has credentials to connect to the cluster.