mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
Use EmptyDir to store provisioner socket
currently, we are making use of host path directory
to store the provisioner socket, as this
the socket is not needed by anyone else other than
containers inside the provisioner pod using the
empty directory to store this socket is the best option.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit fbda8cc4ca
)
This commit is contained in:
parent
f4d05a3ef9
commit
ac76531a7c
@ -145,9 +145,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: {{ .Values.socketDir }}
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-sys
|
- name: host-sys
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
|
@ -142,9 +142,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: {{ .Values.socketDir }}
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-sys
|
- name: host-sys
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
|
@ -162,9 +162,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: {{ .Values.socketDir }}
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-dev
|
- name: host-dev
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
|
@ -159,9 +159,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: {{ .Values.socketDir }}
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-dev
|
- name: host-dev
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
|
@ -133,9 +133,9 @@ spec:
|
|||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: /var/lib/kubelet/plugins/cephfs.csi.ceph.com
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-sys
|
- name: host-sys
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
|
@ -136,9 +136,9 @@ spec:
|
|||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: /var/lib/kubelet/plugins/cephfs.csi.ceph.com
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: host-sys
|
- name: host-sys
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
|
@ -156,9 +156,9 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/modules
|
path: /lib/modules
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: /var/lib/kubelet/plugins/rbd.csi.ceph.com
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: ceph-csi-config
|
- name: ceph-csi-config
|
||||||
configMap:
|
configMap:
|
||||||
name: ceph-csi-config
|
name: ceph-csi-config
|
||||||
|
@ -160,9 +160,9 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/modules
|
path: /lib/modules
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
emptyDir: {
|
||||||
path: /var/lib/kubelet/plugins/rbd.csi.ceph.com
|
medium: "Memory"
|
||||||
type: DirectoryOrCreate
|
}
|
||||||
- name: ceph-csi-config
|
- name: ceph-csi-config
|
||||||
configMap:
|
configMap:
|
||||||
name: ceph-csi-config
|
name: ceph-csi-config
|
||||||
|
Loading…
Reference in New Issue
Block a user