mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2025-06-28 07:26:52 +00:00
chore: update componments to latest version.
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
This commit is contained in:
parent
caa1f81133
commit
bfea0e8ade
@ -16,7 +16,7 @@ spec:
|
|||||||
serviceAccount: csi-nvmf-controller-sa
|
serviceAccount: csi-nvmf-controller-sa
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: quay.io/k8scsi/csi-provisioner:v1.3.0
|
image: registry.k8s.io/sig-storage/csi-provisioner:v3.3.0
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
@ -29,7 +29,7 @@ spec:
|
|||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: quay.io/k8scsi/csi-attacher:v1.2.0
|
image: registry.k8s.io/sig-storage/csi-attacher:v4.2.0
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
args:
|
args:
|
||||||
- "--v=2"
|
- "--v=2"
|
||||||
|
@ -17,13 +17,10 @@ spec:
|
|||||||
dnsPolicy: Default
|
dnsPolicy: Default
|
||||||
containers:
|
containers:
|
||||||
- name: node-registrar
|
- name: node-registrar
|
||||||
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
|
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.6.2
|
||||||
lifecycle:
|
|
||||||
preStop:
|
|
||||||
exec:
|
|
||||||
command: ["/bin/sh", "-c", "rm -rf /registration/csi.nvmf.com \
|
|
||||||
/registration/csi.nvmf.com-reg.sock"]
|
|
||||||
env:
|
env:
|
||||||
|
- name: DRIVER_REG_SOCK_PATH
|
||||||
|
value: /var/lib/kubelet/plugins/csi.nvmf.com/csi.sock
|
||||||
- name: KUBE_NODE_NAME
|
- name: KUBE_NODE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
@ -31,12 +28,26 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- "--v=2"
|
- "--v=2"
|
||||||
- "--csi-address=/csi/csi.sock"
|
- "--csi-address=/csi/csi.sock"
|
||||||
- "--kubelet-registration-path=/var/lib/kubelet/plugins/csi.nvmf.com/csi.sock"
|
- "--kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)"
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- /csi-node-driver-registrar
|
||||||
|
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
|
||||||
|
- --mode=kubelet-registration-probe
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
timeoutSeconds: 15
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
mountPath: /registration
|
mountPath: /registration
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 100Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
- name: csi-nvmf-plugin
|
- name: csi-nvmf-plugin
|
||||||
securityContext:
|
securityContext:
|
||||||
@ -91,4 +102,4 @@ spec:
|
|||||||
path: /sys
|
path: /sys
|
||||||
- name: lib-modules
|
- name: lib-modules
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/modules
|
path: /lib/modules
|
Loading…
Reference in New Issue
Block a user