Skip to content

Commit

Permalink
issue-1657: add csi-resizer to minikube manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmyagkov committed Sep 14, 2024
1 parent 29ceb0c commit 2dab3a5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ spec:
requests:
storage: 1Gi
limits:
storage: 1Gi
storage: 10Gi
storageClassName: nbs-csi-sc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ metadata:
name: nbs-csi-sc
provisioner: nbs.csi.nebius.ai
volumeBindingMode: Immediate
allowVolumeExpansion: true
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,33 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.11.2
imagePullPolicy: IfNotPresent
args:
- "--v=5"
- "--csi-address=/csi/csi.sock"
- "--leader-election"
- "--http-endpoint=:8081"
env:
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "128Mi"
cpu: "250m"
ports:
- containerPort: 8081
name: http-endpoint
protocol: TCP
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: csi-nbs-driver
image: nbs-csi-driver:latest
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit 2dab3a5

Please sign in to comment.