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…
от google★ 25 380 звёзд на GitHub
Установить gke-statefulset-without-probes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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")
- [Troublesho
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/attribution.md
FAQ
Что делает скилл 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. 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-probes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gke-statefulset-without-probes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…