The connection to the server localhost:8080 was refused – did you specify the right host or port?

mkdir ~/.kube
sudo k3s kubectl config view –raw | tee ~/.kube/config
chmod 600 ~/.kube/config

Leave a Reply

Your email address will not be published. Required fields are marked *