k8s0
k8s0 copied to clipboard
kubelet can't start without "shared" volume on Travis
this is about more investigation on this issue
without the "shared" flag on this line, the calico can't start properly. the "shared" works fine on local box, but not on travis.
In your docker
service unit file you have to set shared MountFlags
[Service]
Type=notify
ExecStart=/usr/bin/docker daemon -H fd://
MountFlags=shared
LimitNOFILE=1048576
IIRC, --volume=/var/lib/kubelet:/var/lib/kubelet:rw,rslave
also works. You can have a try.
@dixudx ok, running travis now: https://travis-ci.org/reachlin/k8s0/builds/273147090
well, no luck.
Try add drop-in for docker
unitfile.
@dixudx how? this is on Travis...
so this is still sth. Travis has to fix for their docker image?
@reachlin You're running kubelet
through hyperkube
. Please append --containerized
after "hyperkube:v1.6.4", "kubelet"