File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ spec:
127
127
- " --blobfuse-proxy-endpoint=$(BLOBFUSE_PROXY_ENDPOINT)"
128
128
- " --nodeid=$(KUBE_NODE_NAME)"
129
129
- " --user-agent-suffix=OSS-kubectl"
130
+ - " --enable-aznfs-mount=true"
130
131
ports :
131
132
- containerPort : 29633
132
133
name : healthz
@@ -167,12 +168,36 @@ spec:
167
168
name : azure-cred
168
169
- mountPath : /mnt
169
170
name : blob-cache
171
+ - mountPath : /opt/microsoft/aznfs/data
172
+ name : aznfs-data
173
+ - mountPath : /lib/modules
174
+ name : lib-modules
175
+ readOnly : true
170
176
resources :
171
177
limits :
172
178
memory : 2100Mi
173
179
requests :
174
180
cpu : 10m
175
181
memory : 20Mi
182
+ - name : aznfswatchdog
183
+ image : mcr.microsoft.com/k8s/csi/blob-csi:latest
184
+ command :
185
+ - " aznfswatchdog"
186
+ imagePullPolicy : IfNotPresent
187
+ securityContext :
188
+ privileged : true
189
+ resources :
190
+ limits :
191
+ memory : 100Mi
192
+ requests :
193
+ cpu : 10m
194
+ memory : 20Mi
195
+ volumeMounts :
196
+ - mountPath : /opt/microsoft/aznfs/data
197
+ name : aznfs-data
198
+ - mountPath : /var/lib/kubelet/
199
+ mountPropagation : Bidirectional
200
+ name : mountpoint-dir
176
201
volumes :
177
202
- name : host-usr
178
203
hostPath :
@@ -200,4 +225,12 @@ spec:
200
225
path : /mnt
201
226
type : DirectoryOrCreate
202
227
name : blob-cache
228
+ - hostPath :
229
+ path : /opt/microsoft/aznfs/data
230
+ type : DirectoryOrCreate
231
+ name : aznfs-data
232
+ - name : lib-modules
233
+ hostPath :
234
+ path : /lib/modules
235
+ type : DirectoryOrCreate
203
236
---
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ spec:
129
129
- " --blobfuse-proxy-endpoint=$(BLOBFUSE_PROXY_ENDPOINT)"
130
130
- " --nodeid=$(KUBE_NODE_NAME)"
131
131
- " --user-agent-suffix=OSS-kubectl"
132
+ - " --enable-aznfs-mount=true"
132
133
ports :
133
134
- containerPort : 29633
134
135
name : healthz
@@ -169,12 +170,36 @@ spec:
169
170
name : azure-cred
170
171
- mountPath : /mnt
171
172
name : blob-cache
173
+ - mountPath : /opt/microsoft/aznfs/data
174
+ name : aznfs-data
175
+ - mountPath : /lib/modules
176
+ name : lib-modules
177
+ readOnly : true
172
178
resources :
173
179
limits :
174
180
memory : 2100Mi
175
181
requests :
176
182
cpu : 10m
177
183
memory : 20Mi
184
+ - name : aznfswatchdog
185
+ image : mcr.microsoft.com/k8s/csi/blob-csi:latest
186
+ command :
187
+ - " aznfswatchdog"
188
+ imagePullPolicy : IfNotPresent
189
+ securityContext :
190
+ privileged : true
191
+ resources :
192
+ limits :
193
+ memory : 100Mi
194
+ requests :
195
+ cpu : 10m
196
+ memory : 20Mi
197
+ volumeMounts :
198
+ - mountPath : /opt/microsoft/aznfs/data
199
+ name : aznfs-data
200
+ - mountPath : /var/lib/kubelet/
201
+ mountPropagation : Bidirectional
202
+ name : mountpoint-dir
178
203
volumes :
179
204
- name : host-usr
180
205
hostPath :
@@ -205,4 +230,12 @@ spec:
205
230
path : /mnt
206
231
type : DirectoryOrCreate
207
232
name : blob-cache
233
+ - hostPath :
234
+ path : /opt/microsoft/aznfs/data
235
+ type : DirectoryOrCreate
236
+ name : aznfs-data
237
+ - name : lib-modules
238
+ hostPath :
239
+ path : /lib/modules
240
+ type : DirectoryOrCreate
208
241
---
You can’t perform that action at this time.
0 commit comments