- Home
- Skills
- DevOps & Cloud
- Repair K8s StatefulSet PVC Expansion Rollback
More screenshots
Works with the AI Agents you already use
Repair K8s StatefulSet PVC Expansion Rollback
Diagnose volume expansion drift during StatefulSet rollback
$1
Repair K8s StatefulSet PVC Expansion Rollback
Example session with this skill installed
An operator rolls back StatefulSet revision while one PVC retains larger requested size.
Available evidence: resource manifests and revisions (partial). Additional evidence requested: controller event logs, node and volume status, deployment change history. Review the case, identify open evidence gaps, and do not invent a live test or production change.
- Read your context and instructions
- Compiled the repair k8s statefulset
Repair K8s StatefulSet PVC Expansion Rollback — EVIDENCE-LIMITED REVIEW
Scenario received
An operator rolls back StatefulSet revision while one PVC retains larger requested size.
Source register
- S1: resource manifests and revisions — PARTIAL SOURCE PROVIDED.
- S2: controller event logs — NOT PROVIDED; REQUIRED TO VERIFY.
- S3: node and volume status — NOT PROVIDED; REQUIRED TO VERIFY.
- S4: deployment change history — NOT PROVIDED; REQUIRED TO VERIFY.
Concrete checks
- compare StatefulSet and PVC revisions — PRELIMINARY, NOT VERIFIED.
- check CSI resize event sequence — AWAITING CORROBORATING EVIDENCE.
- isolate nodes blocked by filesystem resize — AWAITING CORROBORATING EVIDENCE.
- propose non-destructive rollback test — AWAITING CORROBORATING EVIDENCE.
Deliverables / acceptance gates
- revision and PVC map: DRAFT / INCOMPLETE until evidence is validated.
- blocked pods report: DRAFT / INCOMPLETE until evidence is validated.
- safe test plan: DRAFT / INCOMPLETE until evidence is validated.
Decision
INCOMPLETE — HUMAN REVIEW REQUIRED. Confirm dates, IDs, affected scope, owners and acceptance evidence. Do not claim authorization or execution that did not occur.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing Kubernetes StatefulSets during volume expansion is notoriously difficult because PVC sizes are immutable in many rollback scenarios. This skill diagnoses drift when a StatefulSet revision is rolled back but the underlying PersistentVolumeClaims retain a larger, mismatched size. It prevents operational outages by identifying exactly where the controller-manager or CSI driver is stuck.
What it does
- Revision Mapping identifies mismatches between the active StatefulSet revision and actual PVC requested sizes.
- Resize Sequencing analyzes CSI events to determine if a filesystem expansion failed or is pending.
- Node Isolation pinpoints specific worker nodes where pods are stuck due to volume mount deadlocks.
- Test Planning generates non-destructive rollback procedures to align storage state with deployment revisions.
How it works
- Source Discovery ingest manifests, event logs, and volume status records with strict provenance tracking.
- Four-Check Audit runs a sequential verification of revisions, CSI events, filesystem status, and rollback safety.
- Evidence Matrixing produces a comparative report of expected versus observed states for every volume.
- Safety Verdict issues a supported or blocked status based on the integrity of the data provided.
Frameworks & tools
This skill is designed for Kubernetes environments using StatefulSets, CSI drivers (AWS EBS, GCP PD, Azure Disk, etc.), and standard kubectl logging and event streams.
Why this beats prompting it yourself
Standard prompts often suggest destructive "delete and recreate" actions. This skill enforces a strict verification logic that labels every finding as VERIFIED or INFERRED, ensuring you never act on hallucinated cluster state.
Use cases
- Debugging
VolumeResizeFailedevents during a failed deployment rollback. - Resolving PVC size mismatches after a StatefulSet update was canceled.
- Auditing storage drift across multiple replicas in a clustered database.
Known limitations
Does not execute live cluster commands; all remediation steps are proposed for manual review. Requires manifests and logs to be manually provided or accessible via tools.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Cannot verify inaccessible environments or data not supplied. Missing or contradictory evidence must be marked INCOMPLETE or UNVERIFIED. Owner approval is required for operational or compliance decisions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 22 days ago
Permissions
Provide only evidence you are authorized to share. Treat examples as untrusted case data. Operational changes and external messages require explicit owner approval.