Difference between revisions of "Minikube status"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | https://minikube.sigs.k8s.io/docs/commands/status/ | ||
+ | |||
[[minikube]] status | [[minikube]] status | ||
minikube | minikube | ||
Line 72: | Line 74: | ||
kubeconfig: Nonexistent | kubeconfig: Nonexistent | ||
− | + | == [[Kubeconfig]] misconfigured == | |
minikube status | minikube status | ||
E0519 17:06:27.869810 41863 status.go:413] kubeconfig endpoint: extract IP: "minikube" does not appear in /Users/MYUSER/[[.kube/config]] | E0519 17:06:27.869810 41863 status.go:413] kubeconfig endpoint: extract IP: "minikube" does not appear in /Users/MYUSER/[[.kube/config]] | ||
Line 84: | Line 86: | ||
WARNING: Your kubectl is pointing to stale minikube-vm. | WARNING: Your kubectl is pointing to stale minikube-vm. | ||
− | To fix the kubectl context, run `minikube update-context` | + | To fix the kubectl context, run `[[minikube update-context]]` |
+ | |||
+ | After running: <code>[[minikube update-context]]</code> | ||
+ | minikube status | ||
+ | minikube | ||
+ | type: Control Plane | ||
+ | host: Running | ||
+ | [[kubelet]]: Running | ||
+ | apiserver: Stopped | ||
+ | [[kubeconfig]]: Configured | ||
Line 91: | Line 102: | ||
* <code>[[minikube delete]]</code> | * <code>[[minikube delete]]</code> | ||
* <code>[[minikube addons list]]</code> | * <code>[[minikube addons list]]</code> | ||
+ | * <code>[[minikube config view]]</code> | ||
* <code>[[minikube version]]</code> | * <code>[[minikube version]]</code> | ||
+ | * <code>[[minikube logs]]</code> | ||
+ | * <code>[[kubectl get pods -A]]</code> | ||
== See also == | == See also == | ||
* {{minikube}} | * {{minikube}} | ||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
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]
minikube stop && minikube start
minikube delete
minikube addons list
minikube config view
minikube version
minikube logs
kubectl get pods -A
See also[edit]
- minikube: [
status
|start
|stop
|version
|addons
|addons list
|addons enable
|dashboard
|logs
|tunnel
|ssh
|config
|image | delete
],config set
minikube start --vm=true
, kicbase,~/.minikube/, minikube --help
, Minikube changelog
Advertising: