Starting with VMware Cloud Director Container Service Extension 3.1.3, you can optionally configure a default storage class when you create a TKGm cluster and use this storage class when you install applications. This feature automates steps for the tenant users to manage the TKGm cluster for their developers in their organization. This feature is only applicable to TKGm clusters.
spec
section in the TKGm cluster configuration YAML file. You can configure the following fields in a default storage class:
Configuration field | Description |
---|---|
filesystem |
This is set to ext4 by default or xfs . |
k8sStorageClassName |
The name of the storage class. |
useDeleteReclaimPolicy |
If true , the Delete Reclaim policy is used, which deletes the persistent volume when the persistent volume claim is deleted. If false , the Retain Reclaim policy is used, that allows the persistent volume to be manually reclaimed after the persistent volume claim is deleted. |
vcdStorageProfileName |
The VMware Cloud Director storage profile. |
Note: If a default storage class is not necessary, it defaults to
spec.settings.csi.defaultK8sStorageClass: null
.
Procedure
Results
The TKGm cluster is configured with a default storage class.