NamespaceManagement_Supervisors_WorkloadsStorageConfig
WorkloadsStorageConfig structure describes how vSphere and Kubernetes will persist images and volumes to disk.
{
"cloud_native_file_volume": {
"vsan_clusters": [
"string"
]
},
"ephemeral_storage_policy": "string",
"image_storage_policy": "string"
}
The CNSFileConfig structure contains the specification required to set the configuration for Cloud Native Storage file volume support on Supervisor.
WorkloadsStorageConfig.ephemeral-storage-policy identifies the storage policy associated with ephemeral disks of all the Kubernetes PodVMs in the cluster. If unset during cluster enablement, the ephemeral storage policy will be defaulted to the configured ControlPlane.storage-policy. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.
The WorkloadsStorageConfig.image-storage-policy structure contains the specification required to configure storage used for PodVM container images. If unset, the image storage policy will be set to the specified WorkloadsStorageConfig.ephemeral-storage-policy if provided. This field will inherit any defaults for ephemeral storage policy set by the system. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.