This container runs a Kubelet agent configured to be used Kuryr's CNI driver to bind containers to network ports provided by midonet.
An example command line is:
docker run -d --name kubelet \
-e ZK_ENDPOINTS=172.17.0.83:2181,172.17.0.83:2181,172.17.0.85:2182 \
-e UUID="a293fed0-f7dc-40e6-b01d-c688cfa02429" \
-e MASTER_IP="10.11.0.2" \
-e PUBLIC_IP=10.11.0.8" \
--pid=host \
--net=host \
--privileged=true \
-v ${HOME}/logs:/var/log/midonet-agent \
-v /:/rootfs:ro
-v /sys:/sys:ro
-v /var/lib/docker:/var/lib/docker:rw
-v /var/lib/kubelet:/var/lib/kubelet:rw
-v /var/run:/var/run:rw
midonet/kubelet
where:
pid and the net
should be defined at host level, and several volumes MUST be mounted. The only
optional one in the example is the /var/log/midonet-cluster one, but we still
recommend to mount it.Content type
Image
Digest
Size
277.2 MB
Last updated
almost 10 years ago
docker pull midonet/kubelet