Closed alphec closed 5 years ago
It looks like it is detecting your GPU hardware and trying to install nvidia-docker and friends. You can override this by configuring the kubernetes-worker charm with docker_runtime=apt
.
You can do this in the "configure applications" screen of conjure-up by going to the "Configure" section of kubernetes-worker, and going to "Show Advanced Configuration".
Alternatively, you can also do this by using the --bundle-add option. Create an overlay.yaml
file with:
services:
kubernetes-worker:
options:
docker_runtime: apt
Then run conjure-up with:
conjure-up canonical-kubernetes --bundle-add overlay.yaml
Thanks that fixed it. Still I'm curious why there is a nVidia Kuberentes worker option if it anyway tries to use the GPU. Does that makes sense?
I have the same symptoms with conjure-up as described https://github.com/conjure-up/spells/issues/230. However, I made sure that storage driver is set to
dir
. So it must be something else.When I take a look at the kubernetes-worker/0 log on machine 7, I see:
I installed
Canonical Distribution of Kubernetes
so I'm wondering why a nVidia driver is called and the access errors to node juju-cf90b1-7 and the docker socket seems like issues to me.Also on that machine:
Any help is appreciated!