Closed lthistle closed 4 years ago
Also, here's the output of minikube logs
:
If you look in the --alsologtostderr
output, it appears my /etc/kubernetes
folder is missing the files admin.conf
, kubelet.conf
, controller-manager.conf
, and scheduler.conf
. Is there a way to generate these files?
@lthistle it seems like your linux does not have this kernel module.
failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/5.4.0-42-generic\n", err: exit status 1
minikube mounts "-v /lib/modules:/lib/modules:ro" to the container, is it possible that your linux the kernels modules are not living in /lib/modules ?
@lthistle do you mind sharing out put of
$ modprobe configs
$ echo $?
/triage needs-information /triage support
@lthistle I haven't heard from you this seems to be dupe of https://github.com/kubernetes/minikube/issues/8370
let track this bug there for centeralized response
I faced same issue in windows
Steps to reproduce the issue:
kubectl
on Ubuntu 18.04 withapt-get
according to instructions here.minikube
according to instructions here (using KVM).minikube start --driver=docker
Full output of
minikube start --driver=docker
command:Full output of
minikube start --driver=docker --alsologtostderr
command:When I try to start minikube with docker as the driver, the command hangs on "Preparing Kubernetes v1.18.3 on Docker 19.03.8 ..." for several minutes then subsequently fails. It appears that there's an issue with the kubelet failing to start. As the error message advises, when I troubleshoot with
systemctl status kubelet
, the output is "Unit kubelet.service could not be found." Does anyone know how I can fix this?Issue #5451 appears to be similar, however
minikube delete
followed byminikube start
again does not resolve my issue.