All skills
google avatar

/gke-cluster-autoscaler

@becc4b8
by googlegoogle/skills21k stars
1,698

Trigger on mention of GKE cluster autoscaler, node autoscaling, node pool auto-creation / node auto-provisioning. Provides guidance on enabling and optimizing cluster autoscaler, best practices, and troubleshooting issues such as nodes not scaling up or down, zonal stockouts, or capacity buffers. Do not use for ComputeClass-specific YAML generation or priority configuration (defer to gke-compute-classes skill).

Use this Skill: https://skilld.dev/gh/google/skills/gke-cluster-autoscaler

This session only. Nothing lands on disk.

referencesca-consolidation-tuning.md

≈235 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cluster Autoscaler: Consolidation Tuning

autoscalingPolicy (ComputeClass)

Overrides cluster-wide profile defaults for class-managed nodes.

spec:
  autoscalingPolicy:
    consolidationDelayMinutes: 5     # Floor = 1 min
    consolidationThreshold: 0        # % CPU util (0 = always candidate)
    gpuConsolidationThreshold: 0     # Accelerator counterpart

Tuning by Workload

  • Serving: 5–15 min delay; default threshold. Prevents "thrashing" on traffic spikes.
  • Batch: 1–2 min delay; 0 threshold. Aggressive cost recovery.
  • Stateful: 10+ min delay. Pair with PDBs to control churn.

Disruption Constraints

Consolidation respects:

  • PodDisruptionBudgets (PDB): Node is skipped if eviction breaches maxUnavailable.
  • safe-to-evict: "false": Annotation pins the node indefinitely.

Note: Maintenance windows do NOT block consolidation. Use PDBs for time-windowed suppression.

Source: SKILL.md on GitHub

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    This skill provides guidance and tools for managing the GKE Cluster Autoscaler, including several proactive security measures. It incorporates strict validation for cluster identifiers and defensive instructions to mitigate potential instruction injection from user-pasted logs or manifests. The provided utilities utilize standard cloud management tools for operational troubleshooting.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "version": "1.0.0",
  "category": "Containers"
}

README badge

README badge for google/skills/gke-cluster-autoscaler