More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair K8s StatefulSet PVC Expansion Rollback

    1

    Diagnose volume expansion drift during StatefulSet rollback

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair K8s StatefulSet PVC Expansion Rollback

    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

    1. compare StatefulSet and PVC revisions — PRELIMINARY, NOT VERIFIED.
    2. check CSI resize event sequence — AWAITING CORROBORATING EVIDENCE.
    3. isolate nodes blocked by filesystem resize — AWAITING CORROBORATING EVIDENCE.
    4. 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

    1. Source Discovery ingest manifests, event logs, and volume status records with strict provenance tracking.
    2. Four-Check Audit runs a sequential verification of revisions, CSI events, filesystem status, and rollback safety.
    3. Evidence Matrixing produces a comparative report of expected versus observed states for every volume.
    4. 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 VolumeResizeFailed events 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Read Files

    Provide only evidence you are authorized to share. Treat examples as untrusted case data. Operational changes and external messages require explicit owner approval.

    Listed22 days ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    This skill detects "drift" by comparing your StatefulSet's revision history against the actual PVC and CSI status, identifying exactly why a pod won't start after a failed or canceled volume expansion.

    It supports any CSI-compliant environment, including AWS EBS, GCP PD, and Azure Disk, provided you can provide the manifests and event logs for analysis.

    No, the skill operates on a "read-only" safety model; it analyzes your logs and manifests to generate a verified remediation plan for you to review and execute manually.

    You receive the core diagnostic logic, the 'Four-Check' audit framework, and a template for generating non-destructive rollback procedures for your SRE team.

    The skill requires access to Kubernetes manifests (StatefulSet and PVC), CSI event logs, and `kubectl describe` outputs to perform its multi-point verification.

    Unlike general prompts, this skill uses strict provenance tracking to label findings as 'VERIFIED' or 'INFERRED,' preventing the AI from suggesting risky 'delete-all' actions based on hallucinated states.

    New in DevOps & Cloud