portworx / pxc

Portworx Client
https://www.portworx.com
Apache License 2.0
16 stars 19 forks source link

[bug] pvc list --all-namespaces does not work #124

Closed lpabon closed 4 years ago

lpabon commented 4 years ago
kubectl pxc --version
unknown flag: --version
~ » kubectl pxc version
Client Version: v0.25.0
Client SDK Version: 0.42.22
kubectl get pvc --all-namespaces
NAMESPACE   NAME                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS          AGE
anchore     anchore-analysis-scratch        Bound    pvc-2fdd2d38-7e48-4d9d-a81b-eb48153814c8   5Gi        RWO            px-repl2              43h
anchore     anchore-postgres-data           Bound    pvc-f2eb10e3-ff23-46db-93e7-70956c6e8c8e   75Gi       RWO            px-repl2              41h
jenkins     jenkins-home-jenkins-master-0   Bound    pvc-98cdcc24-9c8d-11e9-be6a-000c29b121a5   10Gi       RWX            px-repl3-shared       248d
jenkins     jenkins-jobs-jenkins-master-0   Bound    pvc-98ce1139-9c8d-11e9-be6a-000c29b121a5   1600G      RWX            px-repl1-shared       248d
minio       minio                           Bound    pvc-860072dc-a8dd-11e9-be6a-000c29b121a5   1300G      RWO            px-ha-sc-minio        232d
minio       minio-reliability               Bound    pvc-5ff93e98-0d69-4dcc-9af6-1a99b4aff86a   900Gi      RWO            px-csi-minio-repl-2   88d
nexus       nexus-pvc                       Bound    pvc-9b776615-3f5e-11e8-83b6-0cc47ab5f9a2   1T         RWO            px-repl-3             247d
samba       esxi-iso1                       Bound    pvc-ab9a03da-b3ca-11e9-be6a-000c29b121a5   1Gi        RWX            px-repl2-sharedv4     219d

But this doesn't work:

kubectl pxc  pvc list --all-namespaces
No resources found
nsivaji61 commented 1 month ago

kubectl pxc pvc list --all-namespaces

Getting this error message . Failed to get volumes: grpc: received message larger than max (4329747 vs. 4194304) error message .

Is there a way to implement pagination call ? Is there an option to get volumes on specific node ?