Skip to content

sasakiyori/k8s-csi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

k8s CSI minimal demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published