Kubernetes Troubleshooting

From UVOO Tech Wiki
Revision as of 18:53, 22 October 2021 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
kubectl -n test run ubuntu --restart=Never -it --image=ubuntu -- bash
apt update && apt install postgresql-client