Run Kubernetes in production - it'll be easy, they said

Any kubectl command throws “Unhandled Error” err=”couldn’t get current server API group list: Get \”http://localhost:8080/api?timeout=32s\”: dial tcp [::1]:8080: connect: connection refused” – what do?

This article explains a fix to a – frankly possibly a little bit dumb – problem, where all kubectl commands suddenly throw an error along the lines of “couldn’t get current server API group list: Get \”http://localhost:8080/api?timeout=32s\”: dial tcp [::1]:8080: connect: connection refused”. Since I don’t ever have Kubernetes running…Continue reading Any kubectl command throws “Unhandled Error” err=”couldn’t get current server API group list: Get \”http://localhost:8080/api?timeout=32s\”: dial tcp [::1]:8080: connect: connection refused” – what do?