mount os-release to ensure the node's OS is what's seen in k8s api

This commit is contained in:
Spencer Smith 2017-04-28 13:40:54 -04:00
parent 4c14b6a7d1
commit fe7c2709f9

View file

@ -25,6 +25,7 @@
-v /var/lib/cni:/var/lib/cni:shared \
-v /var/run:/var/run:rw \
-v {{kube_config_dir}}:{{kube_config_dir}}:ro \
-v /etc/os-release:/etc/os-release \
{{ hyperkube_image_repo }}:{{ hyperkube_image_tag}} \
./hyperkube kubelet \
"$@"