diff --git a/deploy/blobfuse-proxy/blobfuse-proxy.yaml b/deploy/blobfuse-proxy/blobfuse-proxy.yaml index 18963056e..7ad4989ce 100644 --- a/deploy/blobfuse-proxy/blobfuse-proxy.yaml +++ b/deploy/blobfuse-proxy/blobfuse-proxy.yaml @@ -49,6 +49,8 @@ spec: dpkg -i /tmp/blobfuse-proxy.deb rm -f /tmp/packages-microsoft-prod.deb /tmp/blobfuse-proxy.deb mkdir -p /var/lib/kubelet/plugins/blob.csi.azure.com + echo "set max open file num" + sysctl -w fs.file-max=9000000 echo "Enabling blobfuse proxy systemctl service" systemctl daemon-reload systemctl enable blobfuse-proxy diff --git a/deploy/install-driver.sh b/deploy/install-driver.sh index 8d24382c7..6adb6e1f1 100755 --- a/deploy/install-driver.sh +++ b/deploy/install-driver.sh @@ -34,7 +34,7 @@ if [ $ver != "master" ]; then fi if [[ "$#" -gt 1 ]]; then - if [[ "$2" == *"local"* ]] && [[ "$2" == *"enable-blobfuse-proxy"* ]]; then + if [[ "$2" == *"local"* ]] && [[ "$2" == *"blobfuse-proxy"* ]]; then echo "set enable-blobfuse-proxy as true ..." kubectl apply -f ./deploy/blobfuse-proxy/blobfuse-proxy.yaml sed -i 's/enable-blobfuse-proxy=false/enable-blobfuse-proxy=true/g' $repo/csi-blob-node.yaml diff --git a/deploy/uninstall-driver.sh b/deploy/uninstall-driver.sh index 7594a7cfd..0a6e0452d 100755 --- a/deploy/uninstall-driver.sh +++ b/deploy/uninstall-driver.sh @@ -33,6 +33,13 @@ if [ $ver != "master" ]; then repo="$repo/$ver" fi +if [[ "$#" -gt 1 ]]; then + if [[ "$2" == *"blobfuse-proxy"* ]]; then + echo "remove blobfuse-proxy deployment ..." + kubectl delete -f ./deploy/blobfuse-proxy/blobfuse-proxy.yaml + fi +fi + echo "Uninstalling Azure Blob Storage CSI driver, version: $ver ..." kubectl delete -f $repo/csi-blob-controller.yaml --ignore-not-found kubectl delete -f $repo/csi-blob-node.yaml --ignore-not-found diff --git a/test/sanity/run-tests-all-clouds.sh b/test/sanity/run-tests-all-clouds.sh index 86dbff10a..88d141ad2 100755 --- a/test/sanity/run-tests-all-clouds.sh +++ b/test/sanity/run-tests-all-clouds.sh @@ -23,7 +23,7 @@ function install_csi_sanity_bin { mkdir -p $GOPATH/src/github.com/kubernetes-csi pushd $GOPATH/src/github.com/kubernetes-csi export GO111MODULE=off - git clone https://github.com/kubernetes-csi/csi-test.git -b v4.2.0 + git clone https://github.com/kubernetes-csi/csi-test.git -b v4.3.0 pushd csi-test/cmd/csi-sanity make install popd