williamavery@tools-sgebastion-07:~$ kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
This was working a couple of hours ago.
williamavery@tools-sgebastion-07:~$ kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
This was working a couple of hours ago.
You need to become to a tool account. Only tool accounts are provisioned Kubernetes credentials, and this (rather confusing) error message comes up because kubectl uses a default server address as it can't read the correct one from a config file because it does not exist.