mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2025-05-08 23:56:24 +00:00
Merge pull request #20 from MeinhardZhou/chore/components
Example: update componments to the latest version.
This commit is contained in:
commit
0bf764e9e2
deploy/kubernetes
@ -16,7 +16,7 @@ spec:
|
||||
serviceAccount: csi-nvmf-controller-sa
|
||||
containers:
|
||||
- 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"
|
||||
args:
|
||||
- "--csi-address=$(ADDRESS)"
|
||||
@ -29,7 +29,7 @@ spec:
|
||||
mountPath: /csi
|
||||
|
||||
- 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"
|
||||
args:
|
||||
- "--v=2"
|
||||
|
@ -17,13 +17,10 @@ spec:
|
||||
dnsPolicy: Default
|
||||
containers:
|
||||
- name: node-registrar
|
||||
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "rm -rf /registration/csi.nvmf.com \
|
||||
/registration/csi.nvmf.com-reg.sock"]
|
||||
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.6.2
|
||||
env:
|
||||
- name: DRIVER_REG_SOCK_PATH
|
||||
value: /var/lib/kubelet/plugins/csi.nvmf.com/csi.sock
|
||||
- name: KUBE_NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
@ -31,12 +28,26 @@ spec:
|
||||
args:
|
||||
- "--v=2"
|
||||
- "--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:
|
||||
- name: registration-dir
|
||||
mountPath: /registration
|
||||
- name: socket-dir
|
||||
mountPath: /csi
|
||||
resources:
|
||||
limits:
|
||||
memory: 100Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
|
||||
- name: csi-nvmf-plugin
|
||||
securityContext:
|
||||
@ -91,4 +102,4 @@ spec:
|
||||
path: /sys
|
||||
- name: lib-modules
|
||||
hostPath:
|
||||
path: /lib/modules
|
||||
path: /lib/modules
|
Loading…
Reference in New Issue
Block a user