gke-storage

Configure GKE persistent storage with StorageClasses, PVCs, and GCS FUSE.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/wangx7/skills-collection --skill gke-storage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-storage
Source: https://github.com/wangx7/skills-collection/tree/main/google-skills/skills/cloud/gke-storage
Command: npx skills add https://github.com/wangx7/skills-collection --skill gke-storage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configuring persistent storage for GKE clusters is complex, with multiple storage options, access modes, and configuration requirements that can lead to misconfigured resources, performance issues, or data loss for stateful workloads.

Core Features & Use Cases

  • StorageClass Configuration: Set up default and custom StorageClasses for persistent disks, Filestore, and GCS FUSE aligned with GKE golden path defaults.
  • PersistentVolumeClaim Provisioning: Create PVCs for block storage (ReadWriteOnce for databases) and shared file storage (ReadWriteMany via Filestore for multi-pod workloads).
  • GCS FUSE Integration: Mount GCS buckets directly as volumes for data pipelines, ML training data, and log storage without managing PVCs. Use Case: A DevOps engineer can use this skill to provision a high-availability regional persistent disk for a stateful PostgreSQL database on GKE, or set up a shared Filestore volume for a multi-pod content management system.

Quick Start

Use the gke-storage skill to create a ReadWriteOnce persistent volume claim for a stateful database workload on your GKE cluster.

Frequently Asked Questions about gke-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure persistent storage for a stateful database on GKE?

To configure persistent storage for a stateful database on GKE, provision a ReadWriteOnce PersistentVolumeClaim using a custom StorageClass. This provides block storage with high availability and volume expansion support tailored for stateful workloads.

What is the best way to set up shared file access for multiple pods in GKE?

The best way to set up shared file access for multiple pods in GKE is by provisioning Filestore. It provides ReadWriteMany access mode support, allowing concurrent multi-pod workloads to access the same shared file storage volume.

Can I mount a GCS bucket directly to a pod for data processing pipelines?

Yes, you can mount a GCS bucket directly to a pod for data processing pipelines using GCS FUSE integration. This allows you to mount buckets as volumes without managing separate PersistentVolumeClaims.

Does GKE support volume expansion for persistent disks?

Yes, GKE supports volume expansion for persistent disks. By applying StorageClass configurations aligned with GKE golden path defaults, you can enable production-grade storage resources that dynamically expand capacity.

When should I use GCS FUSE instead of a PersistentVolumeClaim for ML training data?

You should use GCS FUSE instead of a PersistentVolumeClaim for ML training data when you need direct access to bucket storage without the overhead of provisioning and managing PVC lifecycle resources for data pipelines.