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-probesInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
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.
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.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| gke-statefulset-without-probes (this skill)by google | 90 | 20.3k | 2mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 121.1k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 89.6k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 73.3k | 1d ago | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.6k | 4d ago | CLAUDE.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.
Skill content
View source on GitHubname: 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
- Google Cloud SDK and tools:
- To install and initialize
gcloud(project selection and authentication) and enable the Kubernetes Engine API (container.googleapis.com), follow the instructions in the section Before you begin. Also ensure that the Recommender API (recommender.googleapis.com) is enabled to view insights and recommendations. - To install
kubectland configure cluster credentials, follow the "Install kubectl", "Install required plugins", and "Store cluster information for kubectl" sections of Install kubectl and configure cluster access.
- To install and initialize
- Billing: Verify that the Google Cloud project has an active Cloud Billing account attached.
- IAM roles:
roles/container.viewerto read cluster details, StatefulSets, PDBs, and GKE diagnosis insights and recommendations.roles/container.developeronly if the user later applies the fix.
- Documentation:
- Ensure workloads are disruption-ready (Sections: "Identify workloads with vulnerability to disruption", "When GKE identifies workloads with vulnerability to disruption", "Implement the guidance to improve disruption readiness")
- Optimize your usage of GKE with insights and recommendations (Sections: "Before you begin", "View insights and recommendations")
- Deploying a stateful application (Sections: "Inspecting a StatefulSet", "Updating a StatefulSet", "Inspecting update rollout", "Update strategies")
- Install kubectl and configure cluster access (Sections: "Install kubectl", "Install required plugins", "Store cluster information for kubectl")
- Manage clusters (Sections: "View your clusters")
- Deploy a Redis cluster on GKE (Sections: "Create a Redis Cluster on GKE")
- Node upgrade strategies (Sections: "maxSurge: GKE creates a new surge node before removing an existing one", "maxUnavailable: GKE makes an existing node unavailable to recreate it", "Phase 3: Drain blue pool")
- Autopilot cluster upgrades (Sections: "Automatic node upgrades")
- Troubleshoot cluster upgrades (Sections: "Troubleshoot node pool upgrades taking longer than usual")
- Environment architecture (Sections: "Environment's cluster")
- Get support (Sections: "Before you contact support", "Recommendations for efficient support")
- Configure Liveness, Readiness and Startup Probes (Sections: "Define readiness probes", "Define a liveness command")
- Liveness, Readiness, and Startup Probes (Sections: "Liveness probe", "Startup probe", "Check mechanisms", "Probe results")
- Specifying a Disruption Budget for your Application (Sections: "Specifying a PodDisruptionBudget", "Healthiness of a Pod", "Check the status of the PDB", "Unhealthy Pod Eviction Policy")
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 itsminAvailablesetting is not less than the total Pod count or itsmaxUnavailablesetting 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 thePDB_UNPROTECTED_STATEFULSETorPDB_UNPERMISSIVEaction in the section When GKE identifies workloads with vulnerability to disruption. Note thatdisruptionsAllowed: 0on a PDB can also occur temporarily while a replacement Pod is notReadyyet (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 inPending, usegke-workload-troubleshootinginstead, because PDBs and readiness probes do not control initial Pod scheduling.
Inline telemetry: If the user already provides the
StatefulSetandPodDisruptionBudgetspecifications 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
- 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 thegcloudor API instructions in the section View insights and recommendations, filter for thePDB_STATEFULSET_WITHOUT_PROBESsubtype, and read the associated recommendation.- No insight: If the insight list is empty, tell the user that no
StatefulSet has the
PDB_STATEFULSET_WITHOUT_PROBESinsight, 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
- No insight: If the insight list is empty, tell the user that no
StatefulSet has the
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
121.1kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
hyperframes
89.6kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ai-job-search
73.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
