Fix minikube role skipping start when kubelet/apiserver are stopped #137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/minikube-status-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--format='{{.Host}}'which only examined the host VM stateminikube startminikube statusexit code (returns non-zero when any component is unhealthy)Test plan
minikube startwhen cluster is already fully running🤖 Generated with Claude Code
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>