Feature Overview: By adding a StorageDescription ConfigMap in the
kube-public
namespace, the platform automatically detects each third‑party StorageClass's snapshot support as well as supported volume modes and access modes (including block‑specific access modes). The PVC creation screen will then display only the valid options, helping you choose and use the right storage features with ease.
Important: Perform the following operation in the
kube-public
namespace, otherwise the platform will not recognize the storage capabilities.
Edit or create a ConfigMap whose name starts with sd-
, for example sd-capabilities-enhanced
:
Required label
data
fieldEach key
corresponds to a StorageClass provisioner
; the value is a YAML string that describes its capabilities. Key fields:
Field | Type | Description |
---|---|---|
snapshot | Boolean | Indicates whether volume snapshots are supported |
volumeMode | List[String] | Supported volume modes; at least one of Filesystem , Block |
accessModes | List[String] | Access modes available when volumeMode is Filesystem |
blockAccessModes | List[String] | Access modes specific to Block volumes (optional) |
If
blockAccessModes
is omitted, the platform will fall back toaccessModes
for Block volumes.
Once applied, the UI automatically adjusts available options, for example:
blockAccessModes
.snapshot: true
, snapshot‑related operations become available on the PVC page.provisioner
key you want to modify.kubectl apply -f ...
. The platform polls for updates and refreshes the UI automatically; you can also refresh the browser to see the changes immediately.blockAccessModes
is missing, Block volumes will inherit accessModes
.Symptom | Possible Cause | Resolution |
---|---|---|
Access‑mode list empty for Block volumes | blockAccessModes is empty and accessModes is also empty | Provide at least one of the two |
UI still shows outdated capabilities | ConfigMap not saved or browser cache | Verify with kubectl get cm , reload |