Skip to content

Commit

Permalink
chore: support deploying aznfs-mount in deploy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Dec 5, 2023
1 parent 75508df commit 6eb6315
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions deploy/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ spec:
- "--nodeid=$(KUBE_NODE_NAME)"
- "--user-agent-suffix=OSS-kubectl"
- "--metrics-address=0.0.0.0:29635"
- "--enable-aznfs-mount=true"
ports:
- containerPort: 29633
name: healthz
Expand Down Expand Up @@ -170,12 +171,36 @@ spec:
name: azure-cred
- mountPath: /mnt
name: blob-cache
- mountPath: /opt/microsoft/aznfs/data
name: aznfs-data
- mountPath: /lib/modules
name: lib-modules
readOnly: true
resources:
limits:
memory: 2100Mi
requests:
cpu: 10m
memory: 20Mi
- name: aznfswatchdog
image: mcr.microsoft.com/k8s/csi/blob-csi:latest
command:
- "aznfswatchdog"
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
resources:
limits:
memory: 100Mi
requests:
cpu: 10m
memory: 20Mi
volumeMounts:
- mountPath: /opt/microsoft/aznfs/data
name: aznfs-data
- mountPath: /var/lib/kubelet/
mountPropagation: Bidirectional
name: mountpoint-dir
volumes:
- name: host-usr
hostPath:
Expand Down Expand Up @@ -206,4 +231,12 @@ spec:
path: /mnt
type: DirectoryOrCreate
name: blob-cache
- hostPath:
path: /opt/microsoft/aznfs/data
type: DirectoryOrCreate
name: aznfs-data
- name: lib-modules
hostPath:
path: /lib/modules
type: DirectoryOrCreate
---

0 comments on commit 6eb6315

Please sign in to comment.