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 2b88f10b04
commit 5657738f7e

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 \
"$@"