Kubernetes Troubleshooting
Jump to navigation
Jump to search
rror: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused root@singlekub:~# sudo kubectl config view --raw >~/.kube/config
sudo kubectl config view --raw >~/.kube/config
then run helm or whatever
kubectl run busybox1 --restart=Never --rm -i --tty --image=busybox -- sh kubectl run busybox2 --restart=Never --rm -i --tty --image=busybox -- sh
kubectl run test --restart=Never --rm -i --tty --image=ubuntu -- bash