mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #53848 from mikedanese/mounter-fix
Automatic merge from submit-queue (batch tested with PRs 52883, 52183, 53915, 53848). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix flex installer directory create
This commit is contained in:
commit
018c08326e
@ -149,11 +149,11 @@ echo
|
|||||||
echo "Loading mount utilities onto this instance..."
|
echo "Loading mount utilities onto this instance..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
mkdir ${MOUNTER_PATH}
|
mkdir -p ${MOUNTER_PATH}
|
||||||
tar xf /tmp/${MOUNTER_DEFAULT_NAME}.tar -C ${MOUNTER_PATH}
|
tar xf /tmp/${MOUNTER_DEFAULT_NAME}.tar -C ${MOUNTER_PATH}
|
||||||
|
|
||||||
# Bind the kubelet directory to one under flexvolume_mounter
|
# Bind the kubelet directory to one under flexvolume_mounter
|
||||||
mkdir ${MOUNTER_PATH}/var/lib/kubelet
|
mkdir -p ${MOUNTER_PATH}/var/lib/kubelet
|
||||||
mount --rbind /var/lib/kubelet/ ${MOUNTER_PATH}/var/lib/kubelet
|
mount --rbind /var/lib/kubelet/ ${MOUNTER_PATH}/var/lib/kubelet
|
||||||
mount --make-rshared ${MOUNTER_PATH}/var/lib/kubelet
|
mount --make-rshared ${MOUNTER_PATH}/var/lib/kubelet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user