Merge pull request #30686 from chetak123/flexVolume_deprecated
Mark FlexVolume deprecated
This commit is contained in:
commit
b1a73567ec
|
@ -77,7 +77,7 @@ failure.
|
||||||
In the webhook model, Kubernetes makes a network request to a remote service.
|
In the webhook model, Kubernetes makes a network request to a remote service.
|
||||||
In the *Binary Plugin* model, Kubernetes executes a binary (program).
|
In the *Binary Plugin* model, Kubernetes executes a binary (program).
|
||||||
Binary plugins are used by the kubelet (e.g.
|
Binary plugins are used by the kubelet (e.g.
|
||||||
[Flex Volume Plugins](/docs/concepts/storage/volumes/#flexVolume)
|
[Flex Volume Plugins](/docs/concepts/storage/volumes/#flexvolume)
|
||||||
and [Network Plugins](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/))
|
and [Network Plugins](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/))
|
||||||
and by kubectl.
|
and by kubectl.
|
||||||
|
|
||||||
|
@ -163,6 +163,8 @@ After a request is authorized, if it is a write operation, it also goes through
|
||||||
) allow users to mount volume types without built-in support by having the
|
) allow users to mount volume types without built-in support by having the
|
||||||
Kubelet call a Binary Plugin to mount the volume.
|
Kubelet call a Binary Plugin to mount the volume.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
|
||||||
### Device Plugins
|
### Device Plugins
|
||||||
|
|
||||||
|
|
|
@ -347,7 +347,6 @@ PersistentVolume types are implemented as plugins. Kubernetes currently supports
|
||||||
* [`cephfs`](/docs/concepts/storage/volumes/#cephfs) - CephFS volume
|
* [`cephfs`](/docs/concepts/storage/volumes/#cephfs) - CephFS volume
|
||||||
* [`csi`](/docs/concepts/storage/volumes/#csi) - Container Storage Interface (CSI)
|
* [`csi`](/docs/concepts/storage/volumes/#csi) - Container Storage Interface (CSI)
|
||||||
* [`fc`](/docs/concepts/storage/volumes/#fc) - Fibre Channel (FC) storage
|
* [`fc`](/docs/concepts/storage/volumes/#fc) - Fibre Channel (FC) storage
|
||||||
* [`flexVolume`](/docs/concepts/storage/volumes/#flexVolume) - FlexVolume
|
|
||||||
* [`gcePersistentDisk`](/docs/concepts/storage/volumes/#gcepersistentdisk) - GCE Persistent Disk
|
* [`gcePersistentDisk`](/docs/concepts/storage/volumes/#gcepersistentdisk) - GCE Persistent Disk
|
||||||
* [`glusterfs`](/docs/concepts/storage/volumes/#glusterfs) - Glusterfs volume
|
* [`glusterfs`](/docs/concepts/storage/volumes/#glusterfs) - Glusterfs volume
|
||||||
* [`hostPath`](/docs/concepts/storage/volumes/#hostpath) - HostPath volume
|
* [`hostPath`](/docs/concepts/storage/volumes/#hostpath) - HostPath volume
|
||||||
|
@ -363,6 +362,8 @@ PersistentVolume types are implemented as plugins. Kubernetes currently supports
|
||||||
|
|
||||||
The following types of PersistentVolume are deprecated. This means that support is still available but will be removed in a future Kubernetes release.
|
The following types of PersistentVolume are deprecated. This means that support is still available but will be removed in a future Kubernetes release.
|
||||||
|
|
||||||
|
* [`flexVolume`](/docs/concepts/storage/volumes/#flexvolume) - FlexVolume
|
||||||
|
(**deprecated** in v1.23)
|
||||||
* [`cinder`](/docs/concepts/storage/volumes/#cinder) - Cinder (OpenStack block storage)
|
* [`cinder`](/docs/concepts/storage/volumes/#cinder) - Cinder (OpenStack block storage)
|
||||||
(**deprecated** in v1.18)
|
(**deprecated** in v1.18)
|
||||||
* [`flocker`](/docs/concepts/storage/volumes/#flocker) - Flocker storage
|
* [`flocker`](/docs/concepts/storage/volumes/#flocker) - Flocker storage
|
||||||
|
|
|
@ -4,14 +4,14 @@ id: flexvolume
|
||||||
date: 2018-06-25
|
date: 2018-06-25
|
||||||
full_link: /docs/concepts/storage/volumes/#flexvolume
|
full_link: /docs/concepts/storage/volumes/#flexvolume
|
||||||
short_description: >
|
short_description: >
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
aka:
|
aka:
|
||||||
tags:
|
tags:
|
||||||
- storage
|
- storage
|
||||||
---
|
---
|
||||||
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.
|
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.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
|
|
|
@ -375,6 +375,7 @@ For [flex-volume support](https://github.com/kubernetes/community/blob/ab55d85/c
|
||||||
Kubernetes components like the kubelet and kube-controller-manager use the default path of
|
Kubernetes components like the kubelet and kube-controller-manager use the default path of
|
||||||
`/usr/libexec/kubernetes/kubelet-plugins/volume/exec/`, yet the flex-volume directory _must be writeable_
|
`/usr/libexec/kubernetes/kubelet-plugins/volume/exec/`, yet the flex-volume directory _must be writeable_
|
||||||
for the feature to work.
|
for the feature to work.
|
||||||
|
(**Note**: FlexVolume was deprecated in the Kubernetes v1.23 release)
|
||||||
|
|
||||||
To workaround this issue you can configure the flex-volume directory using the kubeadm
|
To workaround this issue you can configure the flex-volume directory using the kubeadm
|
||||||
[configuration file](/docs/reference/config-api/kubeadm-config.v1beta3/).
|
[configuration file](/docs/reference/config-api/kubeadm-config.v1beta3/).
|
||||||
|
|
Loading…
Reference in New Issue