k8s-storage
k8s-storage handles Kubernetes storage provisioning and management through a set of kubectl-backed tools. Create and configure persistent volume claims, storage classes, and persistent volumes; inspect their status and access modes; and troubleshoot storage issues directly from conversation.
k8s-storage provisions and manages Kubernetes persistent volumes, storage classes, and volume claims through natural language commands.
AI-generated summary based on this skill's SKILL.md
Install
rohitg00/kubectl-mcp-server/k8s-storage · repository language: Python
git clone https://github.com/rohitg00/kubectl-mcp-server
cp -r kubectl-mcp-server/kubernetes-skills/claude/k8s-storage ~/.claude/skills/k8s-storagenpx skillfed install rohitg00/kubectl-mcp-server/k8s-storageFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I create a persistent volume claim in Kubernetes?
k8s-storage lets you create a PVC by specifying a storage class, size, and access mode. Define your claim with a name, namespace, and storage requirements, then k8s-storage provisions it using kubectl. The PVC will bind to an available PV matching your access mode and capacity needs, or trigger dynamic provisioning if your storage class supports it.
How can I troubleshoot Kubernetes storage issues?
k8s-storage provides troubleshooting for storage binding, mounting, and PVC status problems. Check PVC status to see if it's Pending, Bound, or Failed; inspect events for provisioning errors; verify your storage class exists and its provisioner is configured; and confirm access modes match between PVC and PV. k8s-storage can describe resources and surface binding failures.
What is the process to manage k8s storage classes and volumes?
k8s-storage manages storage classes by defining provisioners, reclaim policies, and access modes. Create storage classes to enable dynamic provisioning, then reference them in PVCs. Monitor PV reclaim policies (Retain, Delete, Recycle) to control cleanup behavior. k8s-storage lets you query, describe, and update these resources across namespaces to maintain your cluster's storage infrastructure.
Can k8s-storage create volume snapshots and restore backups?
Yes, k8s-storage supports creating volume snapshots and restoring from backups. Define snapshot classes, trigger snapshots of existing PVCs, and restore data by creating new PVCs from snapshot sources. This enables point-in-time recovery and backup workflows within your Kubernetes cluster.
How do I check PVC binding status and access modes?
k8s-storage lets you describe PVCs to view their binding status, access modes (ReadWriteOnce, ReadOnlyMany, ReadWriteMany), and capacity. Query all persistent volumes in your cluster to see which PVs are available, bound, or released. Monitor access mode compatibility between claims and volumes to resolve mounting failures.
What storage class provisioner configuration does k8s-storage support?
k8s-storage configures storage class provisioners by specifying the provisioner name, parameters, and reclaim policies. Set up provisioners like aws-ebs, nfs, or local storage; define access modes and volume binding modes; and configure parameters for your infrastructure. k8s-storage applies these configurations via kubectl to enable automated PV provisioning.
SKILL.md
rendered from the published skill — quoted content, verbatim
Kubernetes Storage
Manage Kubernetes storage using kubectl-mcp-server's storage tools.
When to Apply
Use this skill when: - User mentions: "PVC", "PV", "storage class", "volume", "disk", "storage" - Operations: provisioning storage, mounting volumes, expanding storage - Keywords: "persist", "data", "backup storage", "volume claim"
Priority Rules
| Priority | Rule | Impact | Tools |
|---|---|---|---|
| 1 | Verify storage class exists before PVC | CRITICAL | get_storage_classes |
| 2 | Check PVC status before pod deployment | HIGH | describe_pvc |
| 3 | Review access modes for multi-pod access | MEDIUM | get_pvcs |
| 4 | Monitor PV reclaim policy | LOW | get_persistent_volumes |
Quick Reference
| Task | Tool | Example |
|---|---|---|
| List PVCs | get_pvcs |
get_pvcs(namespace) |
| PVC details | describe_pvc |
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
kubernetes-skills/claude/k8s-storage/SKILL.md