Browse Source

Merge pull request #1038 from rutsky/kubelet-mount-var-log

Mount host's /var/log into kubelet container
pull/1056/head
Antoine Legrand 7 years ago
committed by GitHub
parent
commit
3629b9051d
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/node/templates/kubelet-container.j2

1
roles/kubernetes/node/templates/kubelet-container.j2

@ -19,6 +19,7 @@
{% endif -%}
-v /sys:/sys:ro \
-v {{ docker_daemon_graph }}:/var/lib/docker:rw \
-v /var/log:/var/log:rw \
-v /var/lib/kubelet:/var/lib/kubelet:shared \
-v /var/run:/var/run:rw \
-v {{kube_config_dir}}:{{kube_config_dir}}:ro \

Loading…
Cancel
Save