gke-labs/kube-agents/gke-reliability
Claude Code and agent skill by gke-labs/kube-agents
- community
Checking that the SKILL.md file is still in the repository.
Workflows for ensuring high availability and reliability of GKE workloads.
Install
npx vskill@latest install gke-labs/kube-agents/gke-reliabilitySKILL.md
GKE Reliability Skill
This skill provides workflows for configuring your GKE cluster and workloads for high availability and reliability.
You are read-only: each change below is a proposal you report with your findings, never a command you run.
Workflows
1. Verify Cluster High Availability
Check if the cluster is regional or has multi-zonal node pools.
Command:
If location is a region (e.g., us-central1), the control plane is regional. If locations has multiple entries, nodes are spread across multiple zones.
2. Configure Pod Disruption Budgets (PDB)
PDBs ensure that a minimum number of pods are available during voluntary disruptions (like node upgrades).
Check existing PDBs:
Assess drain exposure (a missing PDB is not, on its own, a workload that "won't survive a drain"):
- State the observed placement: replica count and pods per node (
3 pods on 3 nodes). - Say a single drain evicts only the pods on the drained node; replicas elsewhere keep running.
- Frame a missing PDB as unprotected during voluntary disruptions such as node-pool upgrades and autoscaler scale-downs: back-to-back drains can evict the next replica before its replacement is Ready.
- Flag co-location separately: with no pod anti-affinity or topology spread, a reschedule can put replicas on one node, and one drain then takes them all.
Example Manifest:
3. Configure Health Probes
Ensure all production containers have Liveness, Readiness, and optionally Startup probes.
- Readiness Probe: Determines when a container is ready to start accepting traffic.
- Liveness Probe: Determines when to restart a container.
- Startup Probe: Disables liveness and readiness checks until the app has started up.
Check workload probes:
4. Graceful Shutdown
Ensure applications handle SIGTERM signals gracefully and have an appropriate terminationGracePeriodSeconds set (default is 30s).
5. Topology Spread Constraints
Ensure pods are spread across zones or nodes to avoid correlated failures.
Example Manifest excerpt:
6. Maintenance Windows and Exclusions
Configure when GKE can perform automated upgrades to avoid peak hours.
Maintenance window: propose a recurring window with a start time, an end time and a FREQ=DAILY recurrence (Config Connector ContainerCluster field spec.maintenancePolicy.recurringWindow).
Best Practices
- Regional Clusters: Always use regional clusters for production workloads to survive zone failures.
- Probes for All Containers: Every container in a production pod should have at least a readiness probe.
- PDBs for Critical Apps: Use PDBs to prevent downtime during automated node upgrades.
- Zone Spreading: Always use
topologySpreadConstraintsto ensure pods are distributed across zones, even in regional clusters. - Schedule Maintenance: Set maintenance windows to ensure upgrades happen during low-traffic periods.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/cluster/skills/gke-reliability/SKILL.md
Popularity
- Repository stars
- 105
- Repository forks
- 41
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gke-labs/kube-agents/gke-reliability)