delete_storage_class
Delete a StorageClass no PersistentVolumeClaim or PersistentVolume uses. The cluster's classes, volumes and claims are read live first: a class still in use is refused naming each claim (namespace/name) and volume that uses it, and the default class is refused (the AI assistant never changes the default class). If the read fails the call is refused with a 'Not checked' line. Volumes already provisioned from the class are not touched. Not reversible from here: recreating the class needs its exact provisioner and parameters (create_storage_class). The generic delete_resource refuses StorageClass, allow_bypass included. A person can delete any class in the Ankra UI or with ankra cluster delete storageclass <name>. Requires kubernetes.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact name of the StorageClass to delete. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. |