Fix minikube role skipping start when kubelet/apiserver are stopped #137

Merged
eblume merged 1 commit from fix/minikube-status-check into main 2026-02-09 23:03:01 -08:00

1 commit

Author SHA1 Message Date
e39b601353 Fix minikube role skipping start when kubelet/apiserver are stopped
After a power loss, minikube's Docker container (host) comes back up but
kubelet and apiserver remain stopped. The status check used
`--format='{{.Host}}'` which only examined the host state, causing the
role to skip `minikube start` since it saw "Running". Remove the format
flag so `minikube status` returns non-zero (exit 7) when any component
is unhealthy, and simplify all conditions to use the exit code alone.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 22:49:02 -08:00