Skip to content

PVC status Incorrect #1138

Description

@SpringHgui

k8s version : v1.22.10
I got nfs pvc status Terminating below by kubectl

$ kubectl get pvc
NAME                  STATUS        VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
datadir-mycluster-0   Bound         pvc-fe1a8ece-aa5c-49b5-96c5-152815177b5e   2Gi        RWO            local          14d
datadir-mycluster-1   Bound         pvc-0f0e1b55-8c9a-4b5b-920a-c4cb747c3eec   2Gi        RWO            local          14d
datadir-mycluster-2   Bound         pvc-d1996570-5932-414b-a53e-9dfe7afba3df   2Gi        RWO            local          14d
nfs                   Terminating   pvc-855e66a5-8aef-4c1b-bc5a-622c3f5642e0   1Mi        RWX            nfs-class      2d2h
tgj-web               Bound         pvc-e65bc5c5-9551-4580-b996-af8abc2971d0   1Gi        RWX            nfs-class      17m

but I got nfs pvc status Bound status by Sdk Kubernetes.CoreV1.ListNamespacedPersistentVolumeClaim

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions