Understand Persistent Storage Installation
- Install any provided add-ons.
- Install KubeSphere by ks-installer.
In the second step, an available StorageClass must be installed. It includes:
- The StorageClass itself
- The storage plugin for the StorageClass if necessary
Note
Some storage systems require you to prepare a storage server in advance to provide external storage services.
There are generally two ways for you to let KubeKey apply configurations of the storage system to be installed.
- Create a separate configuration file for your add-on to list all the necessary parameters and provide the path of the file in so that KubeKey can reference it during installation.
For more information, see .
KubeKey supports the installation of different storage plugins and storage classes. No matter what storage systems you will be installing, you can specify whether it is a default storage class in its configuration file. If KubeKey detects that no default storage class is specified, it will install OpenEBS by default.
If you intend to install more than one storage plugins, only one of them can be set as the default storage class. Otherwise, KubeKey will be confused about which storage class to use.
Kubernetes has announced that in-tree volume plugins will be removed from Kubernetes in version 1.21. For more information, see . Therefore, it is recommended that you install CSI plugins instead.
Supported CSI plugins: