You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sig-storage/volume-plugin-faq.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Last Updated: 02/08/2018
7
7
8
8
A *Kubernetes Volume plugin* extends the Kubernetes volume interface to support a block and/or file storage system.
9
9
10
-
## In-tree vs Out-of-Tree Volume Plugins
10
+
## In-tree vs. Out-of-Tree Volume Plugins
11
11
12
12
**How do I implement a Volume plugin?**
13
13
@@ -18,7 +18,7 @@ There are three methods to implement a volume plugin:
18
18
19
19
The Kubernetes Storage SIG, which is responsible for all volume code in the Kubernetes core repository, is no longer accepting new in-tree volume plugins. Instead, the SIG recommends storage vendors develop plugins as either FlexVolume or CSI drivers.
20
20
21
-
**What is an in-tree vs out-of-tree volume plugin?**
21
+
**What is an in-tree vs. out-of-tree volume plugin?**
22
22
23
23
Before the introduction of the Container Storage Interface (CSI) and FlexVolume, all volume plugins were *in-tree* meaning they were built, linked, compiled, and shipped with the core Kubernetes binaries and extend the core Kubernetes API. This meant that adding a new storage system to Kubernetes (a volume plugin) required checking code into the core Kubernetes code repository.
24
24
@@ -75,6 +75,8 @@ For more information about Flex, see:
75
75
* FlexVolume requires root access on host machine to install FlexVolume driver files.
76
76
* FlexVolume drivers assume all volume mount dependencies, e.g. mount and filesystem tools, are available on the host OS. Installing these dependencies also require root access.
77
77
78
+
## Working with Out-of-Tree Volume Plugin Options
79
+
78
80
**Should I use CSI or FlexVolume?**
79
81
80
82
The Storage SIG suggests implementing a CSI driver if possible. CSI overcomes the limitations of FlexVolume listed above, and the SIG plans to focus most of its development efforts on CSI in the long term. However, CSI is currently alpha, and will take several quarters to become GA. So if depending on alpha/beta software is a concern and you have a time constraint, implementing a FlexVolume driver may be a better option.
0 commit comments