Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.62 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.62 KB

k8s-csi-demo

k8s CSI minimal demo

prerequisite

This demo use the minimal deployment to implement k8s CSI, only valid at the one node scenario.
For example you can use the kind-config.yaml to create a minimal k8s cluster.

The Architecture of CSI follows the third method from the CSI spec:

                            CO "Node" Host(s)
+-------------------------------------------+
|                                           |
|  +------------+           +------------+  |
|  |     CO     |   gRPC    | Controller |  |
|  |            +----------->    Node    |  |
|  +------------+           |   Plugin   |  |
|                           +------------+  |
|                                           |
+-------------------------------------------+

Figure 3: Headless Plugin deployment, only the CO Node hosts run
Plugins. A unified Plugin component supplies both the Controller
Service and Node Service.

branches

  • main: Persistent mode. Controller and Node are both needed.
  • ephemeral: Ephemeral mode (emptyDir like). Only Node is needed.

references