File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
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
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function install_csi_sanity_bin {
23
23
mkdir -p $GOPATH /src/github.com/kubernetes-csi
24
24
pushd $GOPATH /src/github.com/kubernetes-csi
25
25
export GO111MODULE=off
26
- git clone https://github.com/kubernetes-csi/csi-test.git -b v4.2 .0
26
+ git clone https://github.com/kubernetes-csi/csi-test.git -b v4.3 .0
27
27
pushd csi-test/cmd/csi-sanity
28
28
make install
29
29
popd
You can’t perform that action at this time.
0 commit comments