File tree Expand file tree Collapse file tree 5 files changed +8
-12
lines changed
blob-csi-driver/templates Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,15 @@ spec:
4444 - ' -c'
4545 - |
4646 set -xe
47- dpkg -i /tmp/packages-microsoft-prod.deb
48- apt-get install -y blobfuse
47+ dpkg -i /tmp/packages-microsoft-prod.deb && apt-get install -y blobfuse
4948 dpkg -i /tmp/blobfuse-proxy.deb
5049 rm -f /tmp/packages-microsoft-prod.deb /tmp/blobfuse-proxy.deb
5150 mkdir -p /var/lib/kubelet/plugins/blob.csi.azure.com
52- echo "set max open file num"
53- sysctl -w fs.file-max=9000000
5451 echo "Enabling blobfuse proxy systemctl service"
55- systemctl daemon-reload
5652 systemctl enable blobfuse-proxy
5753 systemctl start blobfuse-proxy
54+ echo "set max open file num"
55+ sysctl -w fs.file-max=9000000
5856 echo "waiting for blobfuse-proxy service to start"
5957 sleep 3s
6058 # tail blobfuse proxy logs
Original file line number Diff line number Diff line change @@ -44,17 +44,15 @@ spec:
4444 - ' -c'
4545 - |
4646 set -xe
47- dpkg -i /tmp/packages-microsoft-prod.deb
48- apt-get install -y blobfuse
47+ dpkg -i /tmp/packages-microsoft-prod.deb && apt-get install -y blobfuse
4948 dpkg -i /tmp/blobfuse-proxy.deb
5049 rm -f /tmp/packages-microsoft-prod.deb /tmp/blobfuse-proxy.deb
5150 mkdir -p /var/lib/kubelet/plugins/blob.csi.azure.com
52- echo "set max open file num"
53- sysctl -w fs.file-max=9000000
5451 echo "Enabling blobfuse proxy systemctl service"
55- systemctl daemon-reload
5652 systemctl enable blobfuse-proxy
5753 systemctl start blobfuse-proxy
54+ echo "set max open file num"
55+ sysctl -w fs.file-max=9000000
5856 echo "waiting for blobfuse-proxy service to start"
5957 sleep 3s
6058 # tail blobfuse proxy logs
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ kubectl apply -f $repo/csi-blob-controller.yaml
4242if [[ " $# " -gt 1 ]]; then
4343 if [[ " $2 " == * " blobfuse-proxy" * ]]; then
4444 echo " set enable-blobfuse-proxy as true ..."
45- kubectl apply -f ./deploy /blobfuse-proxy.yaml
45+ kubectl apply -f $repo /blobfuse-proxy.yaml
4646 if [[ " $2 " == * " local" * ]]; then
4747 cat $repo /csi-blob-node.yaml | sed ' s/enable-blobfuse-proxy=false/enable-blobfuse-proxy=true/g' | kubectl apply -f -
4848 else
Original file line number Diff line number Diff line change 3636if [[ " $# " -gt 1 ]]; then
3737 if [[ " $2 " == * " blobfuse-proxy" * ]]; then
3838 echo " remove blobfuse-proxy deployment ..."
39- kubectl delete -f ./deploy /blobfuse-proxy.yaml
39+ kubectl delete -f $repo /blobfuse-proxy.yaml
4040 fi
4141fi
4242
You can’t perform that action at this time.
0 commit comments