I'm following along with an online tutorial to install Kubernetes on Ubuntu. This is part of a larger how-to mine cryptocurrency (Monero) on a Kubernetes cluster using XMRig. I got as far as step 4 on Canonical's website attempting to run the command "kubectl get all --all-namespaces". Every time I attempt to do so I receive a "connection to the server localhost:8080 was refused - did you specify the right host or port?"
The Canonical also shows using the "token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
microk8s kubectl -n kube-system describe secret $token" option to retrieve the same information, but I don't see it. Suggestions on what I'm doing wrong and how to fix it?
The Canonical also shows using the "token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
microk8s kubectl -n kube-system describe secret $token" option to retrieve the same information, but I don't see it. Suggestions on what I'm doing wrong and how to fix it?