Difference between revisions of "Minikube status"

From wikieduonline
Jump to navigation Jump to search
 
Line 104: Line 104:
 
* <code>[[minikube config view]]</code>
 
* <code>[[minikube config view]]</code>
 
* <code>[[minikube version]]</code>
 
* <code>[[minikube version]]</code>
 +
* <code>[[minikube logs]]</code>
 
* <code>[[kubectl get pods -A]]</code>
 
* <code>[[kubectl get pods -A]]</code>
  

Latest revision as of 14:15, 3 January 2024

https://minikube.sigs.k8s.io/docs/commands/status/

minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
timeToStop: Nonexistent
minikube status
m01
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
minikube status
minikube
type: Control Plane
host: Stopped
kubelet: Stopped
apiserver: Stopped
kubeconfig: Stopped
minikube status
m01
host: Stopped
kubelet: Stopped
apiserver: Stopped
kubeconfig: Stopped
minikube status
🤷  There is no local cluster named "minikube"
👉  To fix this, run: "minikube start"


minikube status
E0311 16:24:44.575519   17477 status.go:243] status error: host: state: unknown state "minikube": docker container inspect minikube --format=Template:.State.Status: exit 
status 1
stdout:

stderr:
Error: No such container: minikube
E0311 16:24:44.576854   17477 status.go:246] The "minikube" host does not exist!
minikube
type: Control Plane
host: Nonexistent
kubelet: Nonexistent
apiserver: Nonexistent
kubeconfig: Nonexistent
 minikube status
🤷  Profile "minikube" not found. Run "minikube profile list" to view all profiles.
👉  To start a cluster, run: "minikube start"


minikube status

E0307 07:49:17.567564   22862 status.go:258] status error: host: state: unknown state "minikube": docker container inspect minikube --format= Template:.State.Status: exit status 1
stdout:

stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
E0307 07:49:17.567575   22862 status.go:261] The "minikube" host does not exist!
minikube
type: Control Plane
host: Nonexistent
kubelet: Nonexistent
apiserver: Nonexistent
kubeconfig: Nonexistent

Kubeconfig misconfigured[edit]

minikube status
E0519 17:06:27.869810   41863 status.go:413] kubeconfig endpoint: extract IP: "minikube" does not appear in /Users/MYUSER/.kube/config
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Stopped
kubeconfig: Misconfigured
 

WARNING: Your kubectl is pointing to stale minikube-vm.
To fix the kubectl context, run `minikube update-context`
After running: minikube update-context
minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Stopped
kubeconfig: Configured


Related commands[edit]

See also[edit]

Advertising: