SkillAgentSearch skills...

gke-statefulset-without-probes

Audits, detects, and proposes fixes for GKE StatefulSets that are protected by a PodDisruptionBudget (PDB) but lack container readiness probes (GKE insight subtype PDB_STATEFULSET_WITHOUT_PROBES), causing replacement Pods to be counted as healthy before they are ready during voluntary disruptions

Install / Use

npx skills add google/skills --skill gke-statefulset-without-probes

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

90/100

Supported Platforms

Universal

Tags

Our assessment of gke-statefulset-without-probes

gke-statefulset-without-probes scores 90/100 on our quality scale, 1192nd of 4,700 Development & Engineering skills we index (top 26%).

Its SKILL.md is 28 KB long, well organised into 15 sections with 1 code example: a thorough specification that gives an agent plenty to work with.

With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
17/20
Description
15/15
Adoption
18/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so gke-statefulset-without-probes is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

gke-statefulset-without-probes compared with similar skills

All 4 of these similar skills score higher than gke-statefulset-without-probes; compare them before choosing.

SkillScoreStarsUpdatedFormat
gke-statefulset-without-probes (this skill)by google9020.3k2mo agoSKILL.md
taste-skillby Leonxlnx100121.1ktodayCLAUDE.md
hyperframesby heygen-com10089.6ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10073.3k1d agoCLAUDE.md
claude-howtoby luongnv8910047.6k4d agoCLAUDE.md

Frequently asked questions

How do I install gke-statefulset-without-probes?
Run npx skills add google/skills --skill gke-statefulset-without-probes. The install tabs above show the steps for each supported agent.
Which AI agents does gke-statefulset-without-probes work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is gke-statefulset-without-probes safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is gke-statefulset-without-probes still maintained?
The repository was last updated about 2 months ago, so gke-statefulset-without-probes is actively maintained.

name: gke-statefulset-without-probes metadata: version: "1.0.0" category: Containers description: >- Audits, detects, and proposes fixes for GKE StatefulSets that are protected by a PodDisruptionBudget (PDB) but lack container readiness probes (GKE insight subtype PDB_STATEFULSET_WITHOUT_PROBES), causing replacement Pods to be counted as healthy before they are ready during voluntary disruptions. Use when asked to check, audit, or propose fixes for the PDB_STATEFULSET_WITHOUT_PROBES condition, missing readinessProbe configurations on PDB-protected GKE StatefulSets, or premature eviction of StatefulSet replicas during node pool upgrades or drains despite having a PDB. Don't use for StatefulSets missing a PDB (PDB_UNPROTECTED_STATEFULSET), PDBs that allow zero disruptions (PDB_UNPERMISSIVE), general probe and PDB setup unrelated to this condition (use gke-reliability), Pods stuck in Pending (use gke-workload-troubleshooting), ComputeClass configuration (use gke-compute-classes), manifest generation (use gke-manifest-generation), or cluster upgrade planning (use gke-upgrades).

GKE StatefulSet without readiness probes

Use this skill to find, verify, and propose fixes for StatefulSet workloads in GKE clusters that are configured with a PodDisruptionBudget (PDB) but without container readiness probes (readinessProbe), corresponding to the PDB_STATEFULSET_WITHOUT_PROBES insight subtype.

As explained in the section When GKE identifies workloads with vulnerability to disruption, PDBs respect readiness probes when they look at which Pods can be counted as healthy. Therefore, if a Pod covered by a PDB does not have a readiness probe configured, the PDB has limited visibility into whether the Pod is healthy or is just up and running. A Pod is considered healthy by a PDB when its Ready condition is True (see the section Healthiness of a Pod), and a container without a readiness probe defaults to a Success readiness state once started (see the section Probe results).

Read-only rule: Run read-only diagnostic commands only. Never drain, delete, or re-create nodes, never dismiss a recommendation, and never run any other command that changes the cluster. Give the user any fix to apply themselves.

When guiding the user or recommending a check or fix, always include the exact linked section names and URLs from this skill in your response (do not search local repository files to copy commands).

Usage attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Prerequisites

This skill only reads cluster and recommender state and creates no billable resources, so no teardown is required.


Diagnostic workflow

Scope check: If the user says that the cluster belongs to a Managed Service for Apache Airflow (formerly Cloud Composer) environment, don't propose changes to its workloads, because clusters for Managed Airflow and workloads deployed into them are managed by Google, and introducing changes in the environment's cluster might break the environment (see the section Environment's cluster). If you aren't sure whether the cluster belongs to a Managed Airflow environment, ask the user. If the problem is a StatefulSet that has no matching PDB at all (PDB_UNPROTECTED_STATEFULSET), or an existing PDB is impossible to adhere to for maintenance because its minAvailable setting is not less than the total Pod count or its maxUnavailable setting is zero (PDB_UNPERMISSIVE, or node pool upgrades stall with "Cannot evict pod as it would violate the pod's disruption budget." as described in the section Troubleshoot node pool upgrades taking longer than usual), stop using this skill and point the user to the PDB_UNPROTECTED_STATEFULSET or PDB_UNPERMISSIVE action in the section When GKE identifies workloads with vulnerability to disruption. Note that disruptionsAllowed: 0 on a PDB can also occur temporarily while a replacement Pod is not Ready yet (see the "Check the status of the PDB" and "Healthiness of a Pod" sections of Specifying a Disruption Budget for your Application). If Pods are stuck in Pending, use gke-workload-troubleshooting instead, because PDBs and readiness probes do not control initial Pod scheduling.

Inline telemetry: If the user already provides the StatefulSet and PodDisruptionBudget specifications in the prompt (and the cluster does not belong to a Managed Airflow environment), skip Steps 1–2 and evaluate all provided workloads directly in Step 3 without running terminal commands or searching the workspace.

Step 1: Identify the cluster

Obtain {project_id}, {cluster_name}, and {location} from the user prompt. If the cluster is unknown, ask the user, or follow the instructions in the section View your clusters to list clusters in {project_id}. If you aren't sure whether {cluster_name} belongs to a Managed Airflow environment, ask the user (see the Scope check above and the section Environment's cluster).

Step 2: Get the insight and inspect live resources

  1. Get the insight and recommendation: As documented in the section Identify workloads with vulnerability to disruption, disruption readiness insights are viewed using the Google Cloud CLI or the Recommender API and are not available in the Google Cloud console. To find StatefulSets with this insight in {project_id} and {location}, follow the gcloud or API instructions in the section View insights and recommendations, filter for the PDB_STATEFULSET_WITHOUT_PROBES subtype, and read the associated recommendation.
    • No insight: If the insight list is empty, tell the user that no StatefulSet has the PDB_STATEFULSET_WITHOUT_PROBES insight, and note that recommendations are assessed once daily (see the section Implement the guidance to improve disruption readiness). If the user named or pasted a StatefulSet, still check its live state in items 2–3 below because a recent change might not have an insight yet. If no insight was found and the user reported early replica evictions during an upgrade or drain, follow the secti

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars20.3k
CategoryDevelopment
Updated2mo ago
Forks1.7k

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions