Skip to content

Catch error if minikube is not started #11

@sean-nicholas

Description

@sean-nicholas

I'm getting this error if minikube is stopped on snow create. I see that there is a catch around this command. Don't know why this error is printed. The script continues execution.

Which cloud provider are you hosting with? (minikube,gcp,digitalocean) [m,g,d] m
Note: Minikube is for development purposes only.
minikube status
host: Stopped
kubelet:
apiserver:
kubectl:
Command failed: minikube status
Error: Command failed: minikube status

at ChildProcess.exithandler (child_process.js:281:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)Starting Minikube. This may take a minute.

minikube start
o minikube v0.35.0 on linux (amd64)
i Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
: Restarting existing virtualbox VM for "minikube" ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions