Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gke-unprotected-statefulset

БесплатноБез исполняемых скриптовНе проверен

Audits, detects, and proposes fixes for GKE StatefulSets that lack a matching PodDisruptionBudget (PDB) to prevent simultaneous Pod evictions during voluntary…

googleот google★ 25 380 звёзд на GitHub

Об этом скилле

GKE unprotected StatefulSet skill

Use this skill to find, verify, and propose fixes for GKE StatefulSet workloads lacking a matching PodDisruptionBudget (PDB), subtype PDB_UNPROTECTED_STATEFULSET. Without a matching PDB, voluntary node drains can take down all Pods at once or drop a stateful app below quorum; a zero-budget PDB triggers PDB_UNPERMISSIVE, which GKE violates after one hour (see When GKE identifies workloads with vulnerability to disruption and "Dealing with disruptions" and "Pod disruption budgets" in Disruptions).

Read-only rule: Run read-only diagnostic commands only. Never drain, delete, or re-create nodes, create or modify Kubernetes resources, dismiss or change insight or recommendation state, or run any other command that changes the cluster or project. Give the user any fix to apply themselves.

Usage attribution

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

Prerequisites

  1. Google Cloud CLI, APIs, and billing: If gcloud is missing or uninitialized or container.googleapis.com is disabled, point the user to Before you begin (never enable APIs or install software yourself). If recommender.googleapis.com is disabled, point the user to "gcloud" in Enable the API. The project needs an active Cloud Billing account.
  2. kubectl and cluster credentials: If kubectl or required auth plugins are missing, point the user to "Install kubectl" and "Install required plugins" in Install kubectl and configure cluster access, and use "Store cluster information for kubectl" on that page to configure cluster credentials for kubectl.
  3. IAM roles: Under Google Kubernetes Engine roles and Required roles:
    • Kubernetes Engine Viewer (roles/container.viewer) to configure credentials and read clusters, StatefulSets, PDBs, insights, and recommendations.
    • Kubernetes Engine Developer (roles/container.developer) only for the user to create/update PDBs, update/scale StatefulSets, or dismiss recommendations.
    • Kubernetes Engine Cluster Admin (roles/container.clusterAdmin) only for the user to configure cluster maintenance windows/exclusions or Standard node-pool maintenance exclusions.
  4. Documentation:
Полный SKILL.md на GitHub

Установить gke-unprotected-statefulset в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/attribution.md

FAQ

Что делает скилл gke-unprotected-statefulset?

Audits, detects, and proposes fixes for GKE StatefulSets that lack a matching PodDisruptionBudget (PDB) to prevent simultaneous Pod evictions during voluntary node drains (GKE insight subtype PDB_UNPROTECTED_STATEFULSET). Use when investigating the PDB_UNPROTECTED_STATEFULSET insight, checking whether GKE StatefulSets have a matching PDB, or proposing fixes for selector mismatches where an existing PDB does not match the StatefulSet's .spec.selector. Don't use for existing PDBs that allow zero disruptions or block node drains (PDB_UNPERMISSIVE), general probe and PDB setup unrelated to this insight (use gke-reliability), upgrade planning (use gke-upgrades), Pods stuck in Pending (use gke-workload-troubleshooting), node autoscaling or capacity stockouts (use gke-cluster-autoscaler), ComputeClass configuration (use gke-compute-classes), or general Kubernetes manifest generation (use gke-manifest-generation).

Как установить скилл gke-unprotected-statefulset?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gke-unprotected-statefulset запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gke-unprotected-statefulset с