Skip to content

[help] start minikube error #3517

Closed
Closed
@xkcoding

Description

BUG REPORT :

Please provide the following details:

Environment:

Minikube version (use minikube version): v0.32.0

  • OS (e.g. from /etc/os-release): MacOS mojave 10.14.2 (18C54)
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): virtualbox
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION): "Boot2DockerURL": "file:///Users/yangkai.shen/.minikube/cache/iso/minikube-v0.32.0.iso"
  • Install tools: brew

What happened:

$ minikube start
Starting local Kubernetes v1.12.4 cluster...
Starting VM...
Downloading Minikube ISO
 178.88 MB / 178.88 MB [============================================] 100.00% 0s
Getting VM IP address...
E0109 17:30:57.090762   47169 start.go:211] Error parsing version semver:  Version string empty
Moving files into cluster...
Downloading kubeadm v1.12.4
Downloading kubelet v1.12.4
Finished Downloading kubeadm v1.12.4
Finished Downloading kubelet v1.12.4
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Stopping extra container runtimes...
Starting cluster components...
E0109 17:38:49.423563   47169 start.go:343] Error starting cluster:  kubeadm init error
sudo /usr/bin/kubeadm init --config /var/lib/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests --ignore-preflight-errors=DirAvailable--data-minikube --ignore-preflight-errors=Port-10250 --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml --ignore-preflight-errors=FileAvailable--etc-kubernetes-manifests-etcd.yaml --ignore-preflight-errors=Swap --ignore-preflight-errors=CRI
 running command: : Process exited with status 2
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
	minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]: %

Output of minikube logs (if applicable):

Jan 09 09:51:22 minikube kubelet[4040]: I0109 09:51:22.503828    4040 server.go:408] Version: v1.12.4
Jan 09 09:51:22 minikube kubelet[4040]: I0109 09:51:22.504056    4040 plugins.go:99] No cloud provider specified.
Jan 09 09:51:22 minikube kubelet[4040]: F0109 09:51:22.504123    4040 server.go:262] failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory
Jan 09 09:51:22 minikube systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a
Jan 09 09:51:22 minikube systemd[1]: kubelet.service: Failed with result 'exit-code'.
Jan 09 09:51:32 minikube systemd[1]: kubelet.service: Service hold-off time over, scheduling restart.
Jan 09 09:51:32 minikube systemd[1]: kubelet.service: Scheduled restart job, restart counter is at 85.
Jan 09 09:51:32 minikube systemd[1]: Stopped kubelet: The Kubernetes Node Agent.
Jan 09 09:51:32 minikube systemd[1]: Started kubelet: The Kubernetes Node Agent.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --allow-privileged has been deprecated, will be removed in a future version
Jan 09 09:51:32 minikube kubelet[4053]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 09 09:51:32 minikube kubelet[4053]: Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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