k8s-cinder-csi-plugin

K8s Pod Use Openstack Cinder Volume

openstack volume list
+--------------------------------------+------------------------------------------+-----------+------+-------------------------------------------------------------------------------------------------------------------------+
| ID                                   | Name                                     | Status    | Size | Attached to                                                                                                             |
+--------------------------------------+------------------------------------------+-----------+------+-------------------------------------------------------------------------------------------------------------------------+
| fbf3970a-61e2-4f96-99e0-a9300a346c85 | pvc-05aa4cb4-e0d9-4c72-8439-1dacf668eb72 | in-use    |    1 | Attached to None on /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-05aa4cb4-e0d9-4c72-8439-1dacf668eb72/globalmount  |
+--------------------------------------+------------------------------------------+-----------+------+-------------------------------------------------------------------------------------------------------------------------+

Pod Status

kubectl get pod
NAME                 READY   STATUS    RESTARTS   AGE
nginx                1/1     Running   0          16h

GitHub

View Github