K8

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.zip

Installs 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.
164 chars✓ has a “when” trigger
Intermediate

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

You give it
PVC name or namespace
You get back
Storage configuration or status report

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

PriorityRuleImpactTools
1Verify storage class exists before PVCCRITICALget_storage_classes
2Check PVC status before pod deploymentHIGHdescribe_pvc
3Review access modes for multi-pod accessMEDIUMget_pvcs
4Monitor PV reclaim policyLOWget_persistent_volumes

Quick Reference

TaskToolExample
List PVCsget_pvcsget_pvcs(namespace)
PVC detailsdescribe_pvcdescribe_pvc(name, namespace)
Storage classesget_storage_classesget_storage_classes()
List PVsget_persistent_volumesget_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

When not to use it

  • When the storage class does not exist in the target cluster

Prerequisites

kubectl-mcp-server

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.

SkillInstallsUpdatedSafetyDifficulty
k8s-storage (this skill)16moNo flagsIntermediate
linkerd-patterns65moReviewAdvanced
storage-networking67moReviewAdvanced
k8s-helm86moReviewIntermediate

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.

672

storage-networking

pluginagentmarketplace

Master Kubernetes storage management and networking architecture. Learn persistent storage, network policies, service discovery, and ingress routing.

663

k8s-helm

rohitg00

Manage Helm charts, releases, and repositories. Use for Helm installations, upgrades, rollbacks, chart development, and release management.

857

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.

636

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.

521

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.

223

Search skills

Search the agent skills registry