Skip to content

Commit 0a17fac

Browse files
authored
Merge pull request #1866 from verult/faq-update
Adding header to last few questions of volume plugin faq
2 parents ddd8852 + f72e334 commit 0a17fac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sig-storage/volume-plugin-faq.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Last Updated: 02/08/2018
77

88
A *Kubernetes Volume plugin* extends the Kubernetes volume interface to support a block and/or file storage system.
99

10-
## In-tree vs Out-of-Tree Volume Plugins
10+
## In-tree vs. Out-of-Tree Volume Plugins
1111

1212
**How do I implement a Volume plugin?**
1313

@@ -18,7 +18,7 @@ There are three methods to implement a volume plugin:
1818

1919
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.
2020

21-
**What is an in-tree vs out-of-tree volume plugin?**
21+
**What is an in-tree vs. out-of-tree volume plugin?**
2222

2323
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.
2424

@@ -75,6 +75,8 @@ For more information about Flex, see:
7575
* FlexVolume requires root access on host machine to install FlexVolume driver files.
7676
* 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.
7777

78+
## Working with Out-of-Tree Volume Plugin Options
79+
7880
**Should I use CSI or FlexVolume?**
7981

8082
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

Comments
 (0)