diff --git a/cloud/blockstore/tools/csi_driver/deploy/example/pvc-fs.yaml b/cloud/blockstore/tools/csi_driver/deploy/example/pvc-fs.yaml index f95c849fbd6..0408d821ae6 100644 --- a/cloud/blockstore/tools/csi_driver/deploy/example/pvc-fs.yaml +++ b/cloud/blockstore/tools/csi_driver/deploy/example/pvc-fs.yaml @@ -10,5 +10,5 @@ spec: requests: storage: 1Gi limits: - storage: 1Gi + storage: 10Gi storageClassName: nbs-csi-sc diff --git a/cloud/blockstore/tools/csi_driver/deploy/manifests/4-storageclass.yaml b/cloud/blockstore/tools/csi_driver/deploy/manifests/4-storageclass.yaml index ab13dd346f5..a153030f3a1 100644 --- a/cloud/blockstore/tools/csi_driver/deploy/manifests/4-storageclass.yaml +++ b/cloud/blockstore/tools/csi_driver/deploy/manifests/4-storageclass.yaml @@ -5,3 +5,4 @@ metadata: name: nbs-csi-sc provisioner: nbs.csi.nebius.ai volumeBindingMode: Immediate +allowVolumeExpansion: true diff --git a/cloud/blockstore/tools/csi_driver/deploy/manifests/5-csi-deployment.yaml b/cloud/blockstore/tools/csi_driver/deploy/manifests/5-csi-deployment.yaml index 392dad93da0..c36a2434233 100644 --- a/cloud/blockstore/tools/csi_driver/deploy/manifests/5-csi-deployment.yaml +++ b/cloud/blockstore/tools/csi_driver/deploy/manifests/5-csi-deployment.yaml @@ -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