Skip to content

Commit

Permalink
Merge pull request #135 from leakingtapan/efs-state
Browse files Browse the repository at this point in the history
Preserve efs state file across efs driver recycle
  • Loading branch information
Cheng Pan committed Feb 23, 2020
2 parents 0829739 + d477d4b commit 14277f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/kubernetes/base/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
mountPropagation: "Bidirectional"
- name: plugin-dir
mountPath: /csi
- name: efs-state-dir
mountPath: /var/run/efs
ports:
- containerPort: 9809
name: healthz
Expand Down Expand Up @@ -92,5 +94,9 @@ spec:
hostPath:
path: /var/lib/kubelet/plugins/efs.csi.aws.com/
type: DirectoryOrCreate
- name: efs-state-dir
hostPath:
path: /var/run/efs
type: DirectoryOrCreate


0 comments on commit 14277f9

Please sign in to comment.