fix: unmount detection failure
This commit is contained in:
parent
07d6c43418
commit
9e9e963df6
Binary file not shown.
@ -140,6 +140,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
- name: tmp-dir
|
||||||
|
mountPath: /tmp
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
mountPath: {{ .Values.kubeletDir }}/pods
|
mountPath: {{ .Values.kubeletDir }}/pods
|
||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
@ -155,6 +157,8 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
|
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
- name: tmp-dir
|
||||||
|
emptyDir: {}
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.kubeletDir }}/pods
|
path: {{ .Values.kubeletDir }}/pods
|
||||||
|
|||||||
@ -140,6 +140,8 @@ spec:
|
|||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
- mountPath: /csi
|
- mountPath: /csi
|
||||||
name: socket-dir
|
name: socket-dir
|
||||||
|
- name: tmp-dir
|
||||||
|
mountPath: /tmp
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
@ -151,5 +153,7 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/pods
|
path: /var/lib/kubelet/pods
|
||||||
type: Directory
|
type: Directory
|
||||||
|
- name: tmp-dir
|
||||||
|
emptyDir: {}
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|||||||
@ -118,6 +118,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
- name: tmp-dir
|
||||||
|
mountPath: /tmp
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
mountPath: /var/lib/kubelet/pods
|
mountPath: /var/lib/kubelet/pods
|
||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
@ -132,6 +134,8 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/plugins/csi-nfsplugin
|
path: /var/lib/kubelet/plugins/csi-nfsplugin
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
- name: tmp-dir
|
||||||
|
emptyDir: {}
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/pods
|
path: /var/lib/kubelet/pods
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user