List Storage Classes
Retrieve a list of all Storage Classes in the cluster.Query Parameters
The kubeconfig identifier to use for the request
The cluster context to use for the request
Response
Returns an array of Storage Class objects.Unique identifier for the Storage Class
Namespace of the Storage Class (typically empty for cluster-scoped resources)
Name of the Storage Class
Creation timestamp of the Storage Class
The provisioner that creates volumes of this storage class
Policy for reclaiming volumes (Delete, Retain)
When to bind the volume (Immediate, WaitForFirstConsumer)
Example Request
Example Response
Get Storage Class Details
Retrieve detailed information about a specific Storage Class.Path Parameters
Name of the Storage Class to retrieve
Query Parameters
The kubeconfig identifier to use for the request
The cluster context to use for the request
Example Request
Example Response
Get Storage Class YAML
Retrieve the YAML manifest of a Storage Class.Path Parameters
Name of the Storage Class
Query Parameters
The kubeconfig identifier to use for the request
The cluster context to use for the request
Example Request
Example Response
Get Storage Class Events
Retrieve events related to a specific Storage Class.Path Parameters
Name of the Storage Class
Query Parameters
The kubeconfig identifier to use for the request
The cluster context to use for the request
Example Request
Delete Storage Class
Delete a Storage Class from the cluster.Query Parameters
The kubeconfig identifier to use for the request
The cluster context to use for the request
Name of the Storage Class to delete
Example Request
Response
Returns a success status code (204) if the deletion was successful.Notes
- Storage Classes are cluster-scoped resources and do not belong to a specific namespace
- Deleting a Storage Class does not affect existing Persistent Volumes or Claims using that class
- The
VolumeBindingModedetermines when volume binding and dynamic provisioning occur:Immediate: Binding happens as soon as the PVC is createdWaitForFirstConsumer: Binding is delayed until a pod using the PVC is scheduled