Skip to content
Agentmart
Submit a tool

gke-storage-troubleshooting

Diagnoses GKE persistent-storage failures — volume attach/mount errors (Regional PD on optimized VMs, fsGroup mount timeouts), disk-performance and node…

Skill by googleOfficial

IndexedApache-2.0★ 21,542
Write a review

Chalk Labs

Need help deploying gke-storage-troubleshooting?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/google-gke-storage-troubleshooting

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnoses GKE persistent-storage failures — volume attach/mount errors (Regional PD on optimized VMs, fsGroup mount timeouts), disk-performance and node storage-pressure issues, slow-disk Pod-creation failures, volume-expansion problems, Local SSD / Hyperdisk Storage Pool creation errors, and Cloud Storage FUSE OOM. Use when Pods are stuck in ContainerCreating, volumes fail to attach or mount, or nodes report storage pressure. Don't use for routine storage provisioning or StorageClass/PVC authoring (see the gke-storage skill).

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gke-storage-troubleshooting

What's inside

Skill name
gke-storage-troubleshooting
Description
Diagnoses GKE persistent-storage failures — volume attach/mount errors (Regional PD on optimized VMs, fsGroup mount timeouts), disk-performance and node storage-pressure issues, slow-disk Pod-creation failures, volume-expansion problems, Local SSD / Hyperdisk Storage Pool creation errors, and Cloud Storage FUSE OOM. Use when Pods are stuck in ContainerCreating, volumes fail to attach or mount, or nodes report storage pressure. Don't use for routine storage provisioning or StorageClass/PVC authoring (see the gke-storage skill).
License
Apache-2.0
Metadata
version: 1.1.1 · category: Storage
Instructions
278 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • attribution.md · references/

SKILL.md (first lines)

# GKE Storage Troubleshooting Skill

Use this skill to systematically diagnose and resolve **persistent-storage
failures** for workloads running on GKE — volume attach/mount errors, disk
performance and node storage pressure, volume expansion, storage-related
cluster/node-pool creation errors, and Cloud Storage FUSE memory issues. This
skill operates non-interactively and enforces a read-only diagnostics boundary
before proposing manifest or configuration corrections.

> For routine storage **provisioning** and StorageClass/PVC authoring, use the
> `gke-storage` skill instead. This skill focuses on **failure diagnosis**.

## Attribution

**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read [Usage Attribution](references/attribution.md). For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix `gcloud` with
`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-storage-troubleshooting)"`
and append `agent-skills/1.0 (skill:gke-storage-troubleshooting)` to `User-Agent` headers.

## 🔍 Diagnosis & Resolution Workflow

### Step 0: Non-Interactive Context Discovery & Dry-Run Fallback

1.  **Parameter Extraction**: Extract required context (`project_id`,
    `cluster_name`, `cluster_location`, `workload_name`, `workload_namespace`,
    `pod_name`, and the relevant `pvc_name` / `pv_name` / `node_name`)
    non-interactively from the user prompt, active `SETTINGS.md`, or environment
    defaults:

    -   Default `workload_namespace` to `default` if omitted.
    -   Infer missing cluster parameters from the active environment (`kubectl
        config current-context` or `gcloud config get-value project`).

2.  **Cluster Credentials & Fallback Mode**:

    -   Attempt credential fetch: `gcloud container clusters get-credentials
        {cluster_name} --location {cluster_location} --project {project_id}`.
    -   **Fallback / Dry-Run Mode**: If the cluster is unreachable,
        non-existent, or live command execution fails (such as in sandboxed
        evaluations, dry-run mode, or offline analysis):
        -   Limit retry attempts to avoid resource exhaustion and context
            overflow.
        -   Immediately present the exact `kubectl` / `gcloud` diagnostic
            commands for the human operator to run.
        -   Synthesize the root-cause analysis and output the proposed GitOps
            correction based on the reported symptoms.

--------------------------------------------------------------------------------

### Step 1: Classify the Storage Symptom

Gather the primary signals, then jump to the **matching branch under Step 2
(Resolution)** — you normally perform **only the one branch** that matches your
diagnosis, not all of them.

**Diagnostic Commands:**

```bash
kubectl describe pod {pod_name} -n {workload_namespace}
kubectl get pvc,pv -n {workload_namespace}
kubectl get events -n {workload_namespace} --sort-by='.metadata.creationTimestamp'
kubectl describe node {node_name}
```

-   **Pod stuck in `ContainerCreating` with an attach/mount event** → **Volume
    Attach & Mount Failures**.
-   **Node-level slowness, `PLEG is not healthy`, or `StoragePressureDetected`
    events** → **Disk Performance & Node Storage Pressure**.
-   **Cluster / node-pool creation or provisioning error** → **Storage
    Provisioning & Creation Failures**.
-   **A resized volume is not reflected inside the container** → **Volume
    Expansion Not Reflecting in the Container**.
-   **Cloud Storage FUSE Pod / sidecar OOM** → **Cloud Storage FUSE
    Out-Of-Memory (OOM) Events**.

--------------------------------------------------------------------------------

### Step 2: Resolution

Perform **only the branch that matches your Step 1 diagnosis**. These branches
are mutually exclusive alternatives, not sequential steps.

#### Volume Attach & Mount Failures

-   **`Error 400: Cannot attach RePD to an optimized VM`**: Regional persistent
    disks are restricted from being used with **memory-optimized** or
    **compute-optimized** machine types.

    -   If a regional PD is not a hard requirement, switch the workload to a
        **non-regional persistent disk** StorageClass.
    -   If a regional PD **is** required, use **taints and tolerations** so that
        Pods needing regional PDs are scheduled onto a node pool that does
        **not** use optimized machine types.

-   **Pods stay `Pending` / `FailedScheduling` after a node pool is moved to a
    4th-generation (N4, N4A, N4D) machine series while the workload uses a
    Persistent Disk StorageClass**: N4/N4A/N4D machines **do not support
    Persistent Disk** (they support Hyperdisk only), so a PVC bound to a `pd-*`
    StorageClass cannot bind or schedule on those nodes. Events typically show
    `FailedScheduling` with a volume node-affinity / topology conflict.

    -   Switch the workload to a **Hyperdisk** StorageClass (for example `type:
        hyperdisk-balanced`) for the Gen4 node pool.
    -   For existing Persistent Disk volumes, migrate the data to a Hyperdisk
        volume; the original PD cannot be attached to a Gen4 node.
    -   If the workload must keep Persistent Disk, keep it on a PD-capable
        machine series (for example N2) via node selection. This is a
        machine-type/disk-type incompatibility, **not** a capacity problem, so
        increasing disk size or quota does not help.

-   **Hyperdisk Pods become unschedulable when a compute class falls back across
    VM generations (for example N4 priority, N2 fallback), or one StorageClass
    must serve mixed generations**: a single static disk type in the
    StorageClass is not compatible with every machine series in the fallback
    list, so Pods cannot bind their volume on the fallback nodes.

    -   Use **automated disk type selection**: set the StorageClass

From google/skills, Apache-2.0.

More from google/skills

Signals

Stars
21,542
Forks
1,821
Open issues
21
Last commit (this folder)
Oct 19, 2026 (20 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.1.1
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from google

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get gke-storage-troubleshooting running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying gke-storage-troubleshooting?

CallGet help
Cite this page

gke-storage-troubleshooting skill. Agent Mart. https://agentmart.dev/skills/google-gke-storage-troubleshooting (last updated 2026-10-24)