mount os-release to ensure the node's OS is what's seen in k8s api
This commit is contained in:
parent
4c14b6a7d1
commit
fe7c2709f9
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
-v /var/lib/cni:/var/lib/cni:shared \
|
-v /var/lib/cni:/var/lib/cni:shared \
|
||||||
-v /var/run:/var/run:rw \
|
-v /var/run:/var/run:rw \
|
||||||
-v {{kube_config_dir}}:{{kube_config_dir}}:ro \
|
-v {{kube_config_dir}}:{{kube_config_dir}}:ro \
|
||||||
|
-v /etc/os-release:/etc/os-release \
|
||||||
{{ hyperkube_image_repo }}:{{ hyperkube_image_tag}} \
|
{{ hyperkube_image_repo }}:{{ hyperkube_image_tag}} \
|
||||||
./hyperkube kubelet \
|
./hyperkube kubelet \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
Loading…
Reference in a new issue