Identify or Change your Default StorageClass
Kommander requires a default StorageClass
.
For the supported cloud providers, the Konvoy component handles the creation of a default StorageClass
.
For pre-provisioned environments, the Konvoy component handles the creation of a StorageClass
in the form of a localvolumeprovisioner
, which is not suitable for production use. Before installing the Kommander component, you should identify and install a Kubernetes CSI compatible storage provider that is suitable for production, and then ensure it is set as the default as shown below. See Provision a Static Local Volume for more information.
For infrastructure driver specifics, see Default Storage Providers in DKP.
Identify your StorageClass
This StorageClass
is required to install Kommander.
Execute the following command to verify one is configured:
CODEkubectl get sc --kubeconfig ${CLUSTER_NAME}.conf
The output should look similar to this. Note the
(default)
after the name:CODENAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE ebs-sc (default) ebs.csi.aws.com Delete WaitForFirstConsumer false 41s
If the desired
StorageClass
is not set as default, add the following annotation to theStorageClass
manifest:CODEannotations: storageclass.kubernetes.io/is-default-class: "true"
More information on setting a StorageClass
as default can be found at Changing the default storage class in the Kubernetes documentation.