Skip to content

Commit

Permalink
Fix pods not getting cleaned up
Browse files Browse the repository at this point in the history
- Mark kubelet datadir volume as a recursive mount in kubelet-wrapper
  kubernetes/kubernetes#45688
  https://github.com/coreos/coreos-overlay/pull/2508/files
  • Loading branch information
puneetkatyal committed Oct 21, 2017
1 parent e928c24 commit a1cf847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/kubelet-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exec /usr/bin/rkt run \
--volume etc-kubernetes,kind=host,source=/etc/kubernetes \
--volume etc-ssl-certs,kind=host,source=/usr/share/ca-certificates \
--volume var-lib-docker,kind=host,source=/var/lib/docker \
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet \
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet,readOnly=false,recursive=true \
--volume var-log,kind=host,source=/var/log,readOnly=false \
--volume run,kind=host,source=/run \
--mount volume=etc-kubernetes,target=/etc/kubernetes \
Expand Down

0 comments on commit a1cf847

Please sign in to comment.