Skip to content

Commit 73a82f7

Browse files
committed
feat: add chart parameter for blobfuse-proxy env setting
fix chart format fix file num fix max open file num
1 parent befb104 commit 73a82f7

File tree

5 files changed

+25
-16
lines changed

5 files changed

+25
-16
lines changed

charts/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ The following table lists the configurable parameters of the latest Azure Blob S
121121
| `node.metricsPort` | metrics port of csi-blob-node | `29635` |
122122
| `node.livenessProbe.healthPort ` | health check port for liveness probe | `29633` |
123123
| `node.logLevel` | node driver log level | `5` |
124-
| `node.enableBlobfuseProxy` | node enable blobfuse-proxy | `false` |
124+
| `node.enableBlobfuseProxy` | enable blobfuse-proxy on agent node | `false` |
125+
| `node.blobfuseProxy.installBlobfuse` | whether install blobfuse on agent node| `true` |
126+
| `node.blobfuseProxy.blobfuseVersion` | installed blobfuse version on agent node| `1.4.1` |
127+
| `node.blobfuseProxy.setMaxOpenFileNum` | whether set max open file num on agent node| `true` |
128+
| `node.blobfuseProxy.maxOpenFileNum` | max open file num on agent node| `9000000` |
125129
| `node.blobfuseCachePath` | blobfuse cache path(`tmp-path`) | `/mnt` |
126130
| `node.resources.livenessProbe.limits.cpu` | liveness-probe cpu limits | 100m |
127131
| `node.resources.livenessProbe.limits.memory` | liveness-probe memory limits | 100Mi |
55 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/blobfuse-proxy.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@ spec:
7777
imagePullPolicy: IfNotPresent
7878
name: sysctl-install-blobfuse-proxy
7979
env:
80-
- name: "DEBIAN_FRONTEND"
80+
- name: DEBIAN_FRONTEND
8181
value: "noninteractive"
82-
- name: "INSTALL_BLOBFUSE"
83-
value: "true"
84-
- name: "BLOBFUSE_VERSION"
85-
value: "1.4.1"
86-
- name: "SET_MAX_OPEN_FILE_NUM"
87-
value: "true"
88-
- name: "MAX_FILE_NUM"
89-
value: "9000000"
82+
- name: INSTALL_BLOBFUSE
83+
value: "{{ .Values.node.blobfuseProxy.installBlobfuse }}"
84+
- name: BLOBFUSE_VERSION
85+
value: "{{ .Values.node.blobfuseProxy.blobfuseVersion }}"
86+
- name: SET_MAX_OPEN_FILE_NUM
87+
value: "{{ .Values.node.blobfuseProxy.setMaxOpenFileNum }}"
88+
- name: MAX_FILE_NUM
89+
value: "{{ .Values.node.blobfuseProxy.maxOpenFileNum }}"
9090
resources:
9191
limits:
9292
cpu: 200m

charts/latest/blob-csi-driver/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ node:
9595
healthPort: 29633
9696
logLevel: 5
9797
enableBlobfuseProxy: false
98+
blobfuseProxy:
99+
installBlobfuse: true
100+
blobfuseVersion: 1.4.1
101+
setMaxOpenFileNum: true
102+
maxOpenFileNum: "9000000"
98103
blobfuseCachePath: /mnt
99104
resources:
100105
livenessProbe:

deploy/blobfuse-proxy.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ spec:
6969
imagePullPolicy: IfNotPresent
7070
name: sysctl-install-blobfuse-proxy
7171
env:
72-
- name: "DEBIAN_FRONTEND"
72+
- name: DEBIAN_FRONTEND
7373
value: "noninteractive"
74-
- name: "INSTALL_BLOBFUSE"
74+
- name: INSTALL_BLOBFUSE
7575
value: "true"
76-
- name: "BLOBFUSE_VERSION"
77-
value: "1.4.1"
78-
- name: "SET_MAX_OPEN_FILE_NUM"
76+
- name: BLOBFUSE_VERSION
77+
value: 1.4.1
78+
- name: SET_MAX_OPEN_FILE_NUM
7979
value: "true"
80-
- name: "MAX_FILE_NUM"
80+
- name: MAX_FILE_NUM
8181
value: "9000000"
8282
resources:
8383
limits:

0 commit comments

Comments
 (0)