-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
driver=none sets --extra-config=kubelet.resolv-conf for incorrect path in Ubuntu 16.04 #9031
Comments
I didn't think this flag was required for Ubuntu 16.04. What happens if you run |
@tstromberg The same issue happen with coredns pod became crashloopbackoff by loop plugin |
same error |
@xieydd is your error also on ubuntu 16.04 ? @anencore94 does this happen only on ubuntu 16.04 and not ubuntu 18.04 or newer? (ubuntu 16.04 end of life is less than a year in april 2021) |
@anencore94 I am curious is there a reason you are not using our Docker driver instead of none ? |
@medyagh Yeap It only happens on 16.04. I've been using nvdia-docker to use gpu with minikube. With your official docs, only kvm2 and none driver supports gpu. Also, none driver setting was easier than kvm2 driver, so i choose to use none driver. |
@medyagh Yep, i use ubuntu 16.04, and i have same purpose as @anencore94 , use minikube and gpu-device-plugin. |
Hey @anencore94 I just wanted to confirm that you ran To make sure it worked, could you run:
and let us know if that fixes the issue? |
@priyawadhwa Thanks for checking. But I did this on a brand-new cluster. Since with log, I can see |
@anencore94 do you still have this issue ? do you mind sharing the logs for the crash that you see ? btw KVM driver should not be too hard to install. |
@medyagh Sry.. I just changed my os to Ubuntu 20.04 now. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Steps to reproduce the issue:
minikube --vm-driver=none start
on Ubuntu 16.04Full output of failed command:
Since there isn't any file
/run/systemd/resolve/resolv.conf
in Ubuntu 16.04, The auto-setting--extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf
doesn't work.So different from
minikube start
on Ubuntu 18.04, the stdout ofminikube start
on Ubuntu 16.04 doesn't have following line:▪ kubelet.resolv-conf=/run/systemd/resolve/resolv.conf
How to fix it in Ubuntu 16.04:
By https://stackoverflow.com/questions/53075796/coredns-pods-have-crashloopbackoff-or-error-state/53414041#53414041
Following solution works also on Ubuntu 16.04:
Hacky solution: Disable the CoreDNS loop detection
Other trial in Ubuntu 16.04:.
I've tried minikube start with
--extra-config=kubelet.resolv-conf=/run/resolvconf/resolv.conf
option, But it doesn't work as I expected. The coredns pod also become CrashLoopBackOff. I have no idea why this happens.The text was updated successfully, but these errors were encountered: