All skills
google avatar

/google-cloud-filestore-autoscale

@becc4b8
by googlegoogle/skills21k stars
1,698

Inspects Google Cloud Filestore capacity and utilization, evaluates storage scaling rules, and performs capacity autoscaling (scale UP for low free space or scale DOWN for cost optimization). Use when monitoring Filestore instance headroom, resizing instance shares, configuring automated growth/shrink thresholds (custom thresholds apply globally across projects in session memory), or preventing out-of-space outages. Don't use for Cloud Storage (GCS) buckets, Persistent Disk block storage, or NetApp Volumes.

Use this Skill: https://skilld.dev/gh/google/skills/google-cloud-filestore-autoscale

This session only. Nothing lands on disk.

referencestroubleshooting-errors.md

≈407 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Filestore Autoscaling Troubleshooting & Errors

Common Scale-Down Errors

"capacity for file share may only be increased"

  • Trigger: Attempting to decrease the capacity of a BASIC_HDD or BASIC_SSD tier instance.
  • Root Cause: Basic tier instances are backed by single Persistent Disks, which do not support shrinking.
  • Resolution: Remind the user that Basic instances cannot be shrunk. You must delete and recreate, or migrate to a Zonal/Regional scale-out tier if elasticity is required.

"cannot decrease capacity below current usage"

  • Trigger: Attempting to scale down a Zonal or Regional instance below the amount of data it currently holds.
  • Root Cause: Self-evident safety mechanism; you cannot compress existing files mechanically by reducing provisioned space below used_bytes.
  • Resolution: Set the target capacity strictly greater than the current used_bytes metric (with sufficient buffer).

Common Scale-Up Errors

RESOURCE_EXHAUSTED (Quota Limits)

  • Trigger: Attempting to scale up an instance beyond available GCP project quotas in a region.
  • Root Cause: The project lacks sufficient filestore.googleapis.com quota (e.g. CPUs, Storage Capacity).
  • Resolution: Instruct the user to request a quota increase via the Pantheon Quotas page for the specific region and metric.

PERMISSION_DENIED

  • Trigger: Missing IAM permissions.
  • Root Cause: The executing service account or user lacks roles/file.editor or roles/file.admin.
  • Resolution: Grant the necessary IAM bindings to the user executing the scaling operation.

Source: SKILL.md on GitHub

No alerts10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill provides functionality for autoscaling Google Cloud Filestore instances based on storage utilization. It includes robust safety measures, such as mandatory user confirmation prompts before performing any capacity modifications, and follows best practices for querying Google Cloud APIs. No security issues were detected.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "Storage"
}

README badge

README badge for google/skills/google-cloud-filestore-autoscale