k8s-storage
Interacts with Kubernetes storage by listing persistent volume claims and inspecting storage classes.
Install
mkdir -p .claude/skills/k8s-storage && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3552" && unzip -o skill.zip -d .claude/skills/k8s-storage && rm skill.zipInstalls to .claude/skills/k8s-storage
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Kubernetes storage management for PVCs, storage classes, and persistent volumes. Use when provisioning storage, managing volumes, or troubleshooting storage issues.Key capabilities
- →List and describe Persistent Volume Claims
- →Inspect storage classes and persistent volumes
- →Provision storage using manifest applications
- →Manage volume snapshots
- →Troubleshoot storage issues via events
How it works
It interacts with Kubernetes storage APIs to list, describe, and apply manifests for volumes, claims, and classes.
Inputs & outputs
When to use k8s-storage
- →List all persistent volume claims
- →Check storage class availability
- →Troubleshoot pending volume claims
- →Provision storage for a new service
About this skill
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 | describe_pvc(name, namespace) |
| Storage classes | get_storage_classes | get_storage_classes() |
| List PVs | get_persistent_volumes | get_persistent_volumes() |
Persistent Volume Claims (PVCs)
get_pvcs(namespace="default")
describe_pvc(name="my-pvc", namespace="default")
kubectl_apply(manifest="""
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-pvc
namespace: default
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: standard
""")
kubectl_delete(resource_type="pvc", name="my-pvc", namespace="default")
Storage Classes
get_storage_classes()
kubectl_apply(manifest="""
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: fast-ssd
provisioner: kubernetes.io/gce-pd
parameters:
type: pd-ssd
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
""")
Persistent Volumes
get_persistent_volumes()
describe_persistent_volume(name="pv-001")
Volume Snapshots
kubectl_apply(manifest="""
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: my-snapshot
namespace: default
spec:
volumeSnapshotClassName: csi-snapclass
source:
persistentVolumeClaimName: my-pvc
""")
kubectl_apply(manifest="""
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: restored-pvc
spec:
dataSource:
name: my-snapshot
kind: VolumeSnapshot
apiGroup: snapshot.storage.k8s.io
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
""")
Troubleshooting Storage
describe_pvc(name="my-pvc", namespace="default")
get_events(namespace="default")
describe_pod(name="my-pod", namespace="default")
Related Skills
- k8s-backup - Velero backup/restore
- k8s-operations - kubectl apply/patch
When not to use it
- →When the storage class does not exist in the target cluster
Prerequisites
Limitations
- →Requires verification of storage class existence
- →Access modes must be reviewed for multi-pod access
How it compares
It provides specific tools for storage management rather than generic kubectl resource commands.
Compared to similar skills
k8s-storage side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| k8s-storage (this skill) | 1 | 6mo | No flags | Intermediate |
| linkerd-patterns | 6 | 5mo | Review | Advanced |
| storage-networking | 6 | 7mo | Review | Advanced |
| k8s-helm | 8 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by rohitg00
View all by rohitg00 →You might also like
linkerd-patterns
wshobson
Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.
storage-networking
pluginagentmarketplace
Master Kubernetes storage management and networking architecture. Learn persistent storage, network policies, service discovery, and ingress routing.
k8s-helm
rohitg00
Manage Helm charts, releases, and repositories. Use for Helm installations, upgrades, rollbacks, chart development, and release management.
kubernetes-architect
sickn33
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost optimization, and developer experience. Use PROACTIVELY for K8s architecture, GitOps implementation, or cloud-native platform design.
gitops-workflow
sickn33
Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.
devops-iac-engineer
davila7
Implements infrastructure as code using Terraform, Kubernetes, and cloud platforms. Designs scalable architectures, CI/CD pipelines, and observability solutions. Provides security-first DevOps practices and site reliability engineering guidance.