Kubectl command errors

I’m attempting the ‘Create Deployments in Kubernetes Cluster task’. I keep getting the error below when I try to create a deployment or check the cluster using kubectl cluster-info dump.

Error from server (NotFound): the server could not find the requested resource

Error from server (NotFound): the server could not find the requested resource (get nodes)

Any help would be appreciated. Thanks!

Hi @bwhit034,
Where are you trying to run this command?

on the jump_host for the task

From which user were you trying?

I’m running it as the root user.

Try from thor user. kubeconfig file is set for thor user.

Ah ok. Got it. Thanks!