Skip to content

Commit b1a7356

Browse files
authored
Merge pull request #30686 from chetak123/flexVolume_deprecated
Mark FlexVolume deprecated
2 parents f17f388 + 0cbedcf commit b1a7356

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

content/en/docs/concepts/extend-kubernetes/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ failure.
7777
In the webhook model, Kubernetes makes a network request to a remote service.
7878
In the *Binary Plugin* model, Kubernetes executes a binary (program).
7979
Binary plugins are used by the kubelet (e.g.
80-
[Flex Volume Plugins](/docs/concepts/storage/volumes/#flexVolume)
80+
[Flex Volume Plugins](/docs/concepts/storage/volumes/#flexvolume)
8181
and [Network Plugins](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/))
8282
and by kubectl.
8383

@@ -163,6 +163,8 @@ After a request is authorized, if it is a write operation, it also goes through
163163
) allow users to mount volume types without built-in support by having the
164164
Kubelet call a Binary Plugin to mount the volume.
165165

166+
FlexVolume is deprecated since Kubernetes v1.23. The Out-of-tree CSI driver is the recommended way to write volume drivers in Kubernetes. See [Kubernetes Volume Plugin FAQ for Storage Vendors](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md#kubernetes-volume-plugin-faq-for-storage-vendors) for more information.
167+
166168

167169
### Device Plugins
168170

content/en/docs/concepts/storage/persistent-volumes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ PersistentVolume types are implemented as plugins. Kubernetes currently supports
347347
* [`cephfs`](/docs/concepts/storage/volumes/#cephfs) - CephFS volume
348348
* [`csi`](/docs/concepts/storage/volumes/#csi) - Container Storage Interface (CSI)
349349
* [`fc`](/docs/concepts/storage/volumes/#fc) - Fibre Channel (FC) storage
350-
* [`flexVolume`](/docs/concepts/storage/volumes/#flexVolume) - FlexVolume
351350
* [`gcePersistentDisk`](/docs/concepts/storage/volumes/#gcepersistentdisk) - GCE Persistent Disk
352351
* [`glusterfs`](/docs/concepts/storage/volumes/#glusterfs) - Glusterfs volume
353352
* [`hostPath`](/docs/concepts/storage/volumes/#hostpath) - HostPath volume
@@ -363,6 +362,8 @@ PersistentVolume types are implemented as plugins. Kubernetes currently supports
363362

364363
The following types of PersistentVolume are deprecated. This means that support is still available but will be removed in a future Kubernetes release.
365364

365+
* [`flexVolume`](/docs/concepts/storage/volumes/#flexvolume) - FlexVolume
366+
(**deprecated** in v1.23)
366367
* [`cinder`](/docs/concepts/storage/volumes/#cinder) - Cinder (OpenStack block storage)
367368
(**deprecated** in v1.18)
368369
* [`flocker`](/docs/concepts/storage/volumes/#flocker) - Flocker storage

content/en/docs/reference/glossary/flexvolume.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ id: flexvolume
44
date: 2018-06-25
55
full_link: /docs/concepts/storage/volumes/#flexvolume
66
short_description: >
7-
FlexVolume is an interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface which addresses several problems with FlexVolumes.
7+
FlexVolume is a deprecated interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface that addresses several problems with FlexVolume.
88
99
1010
aka:
1111
tags:
1212
- storage
1313
---
14-
FlexVolume is an interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface which addresses several problems with FlexVolumes.
14+
FlexVolume is a deprecated interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface that addresses several problems with FlexVolume.
1515

1616
<!--more-->
1717

content/en/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ For [flex-volume support](https://github.com/kubernetes/community/blob/ab55d85/c
375375
Kubernetes components like the kubelet and kube-controller-manager use the default path of
376376
`/usr/libexec/kubernetes/kubelet-plugins/volume/exec/`, yet the flex-volume directory _must be writeable_
377377
for the feature to work.
378+
(**Note**: FlexVolume was deprecated in the Kubernetes v1.23 release)
378379

379380
To workaround this issue you can configure the flex-volume directory using the kubeadm
380381
[configuration file](/docs/reference/config-api/kubeadm-config.v1beta3/).

0 commit comments

Comments
 (0)