✓ Solved

Fresh Cluster: linode-block-storage-retain not working

Hello

I just spin up an new cluster k8s 1.23 with debian11 (default)

$ k get sc

    linode-block-storage                    linodebs.csi.linode.com   Delete          Immediate           true                   23m
    linode-block-storage-retain (default)   linodebs.csi.linode.com   Retain          Immediate           true                   23m

then i create a PVC as described in the documentation

    https://www.linode.com/docs/guides/deploy-volumes-with-the-linode-block-storage-csi-driver

    File: pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-example
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
  storageClassName: linode-block-storage-retain

$ k get pvc -A

    default     pvc-example           Pending                                      linode-block-storage-retain   11m

My Question is what is wrong with my setup ? I have used PCV before without error

regards
Martin

2 Replies

✓ Best Answer

I just ran through the PVC tutorial myself and did not encounter the issue you are seeing. My output looks like this:

k --kubeconfig=config.yaml get pvc -A
NAMESPACE   NAME          STATUS   VOLUME                 CAPACITY   ACCESS MODES   STORAGECLASS                  AGE
default     pvc-example   Bound    pvc-*****************   10Gi       RWO            linode-block-storage-retain   ***

k get sc --kubeconfig=config.yaml
NAME                                    PROVISIONER               RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
linode-block-storage                    linodebs.csi.linode.com   Delete          Immediate           true                   ***
linode-block-storage-retain (default)   linodebs.csi.linode.com   Retain          Immediate           true                   ***

If your PVC is still stuck in a pending status, you can always open a ticket with Support.

After creating a second cluster it was working

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct