Skip to content

Commit

Permalink
feat: add sidecar for snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Nov 26, 2024
1 parent 612dbe8 commit 4088a4d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
16 changes: 15 additions & 1 deletion deploy/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: csi-resizer
image: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0
image: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -237,6 +237,20 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: csi-snapshotter
image: k8s.gcr.io/sig-storage/csi-snapshotter:v8.1.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- "--timeout=30s"
- "--retry-interval-max=10"
env:
- name: ADDRESS
value: /var/lib/kubelet/plugins/csi.civo.com/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: civo-csi-plugin
image: gcr.io/consummate-yew-302509/csi:latest
env:
Expand Down
16 changes: 15 additions & 1 deletion deploy/kubernetes/04_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: csi-resizer
image: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0
image: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -70,6 +70,20 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: csi-snapshotter
image: k8s.gcr.io/sig-storage/csi-snapshotter:v8.1.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- "--timeout=30s"
- "--retry-interval-max=10"
env:
- name: ADDRESS
value: /var/lib/kubelet/plugins/csi.civo.com/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /var/lib/kubelet/plugins/csi.civo.com
- name: civo-csi-plugin
image: gcr.io/consummate-yew-302509/csi:latest
env:
Expand Down

0 comments on commit 4088a4d

Please sign in to comment.