File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 49
49
dpkg -i /tmp/blobfuse-proxy.deb
50
50
rm -f /tmp/packages-microsoft-prod.deb /tmp/blobfuse-proxy.deb
51
51
mkdir -p /var/lib/kubelet/plugins/blob.csi.azure.com
52
+ echo "set max open file num"
53
+ sysctl -w fs.file-max=9000000
52
54
echo "Enabling blobfuse proxy systemctl service"
53
55
systemctl daemon-reload
54
56
systemctl enable blobfuse-proxy
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ if [ $ver != "master" ]; then
34
34
fi
35
35
36
36
if [[ " $# " -gt 1 ]]; then
37
- if [[ " $2 " == * " local" * ]] && [[ " $2 " == * " enable- blobfuse-proxy" * ]]; then
37
+ if [[ " $2 " == * " local" * ]] && [[ " $2 " == * " blobfuse-proxy" * ]]; then
38
38
echo " set enable-blobfuse-proxy as true ..."
39
39
kubectl apply -f ./deploy/blobfuse-proxy/blobfuse-proxy.yaml
40
40
sed -i ' s/enable-blobfuse-proxy=false/enable-blobfuse-proxy=true/g' $repo /csi-blob-node.yaml
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ if [ $ver != "master" ]; then
33
33
repo=" $repo /$ver "
34
34
fi
35
35
36
+ if [[ " $# " -gt 1 ]]; then
37
+ if [[ " $2 " == * " blobfuse-proxy" * ]]; then
38
+ echo " remove blobfuse-proxy deployment ..."
39
+ kubectl delete -f ./deploy/blobfuse-proxy/blobfuse-proxy.yaml
40
+ fi
41
+ fi
42
+
36
43
echo " Uninstalling Azure Blob Storage CSI driver, version: $ver ..."
37
44
kubectl delete -f $repo /csi-blob-controller.yaml --ignore-not-found
38
45
kubectl delete -f $repo /csi-blob-node.yaml --ignore-not-found
You can’t perform that action at this time.
0 commit comments