cluster-agent-lifecycle

Manage Cluster Agent profile lifecycles for GKE clusters with automated cleanup.

42|32|Updated May 7, 2026
One-click install
npx skills add https://github.com/gke-labs/kube-agents --skill cluster-agent-lifecycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cluster-agent-lifecycle
Source: https://github.com/gke-labs/kube-agents/tree/main/agents/platform/skills/cluster-agent-lifecycle
Command: npx skills add https://github.com/gke-labs/kube-agents --skill cluster-agent-lifecycle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill eliminates the manual overhead of managing individual cluster-specific agent profiles, ensuring that every GKE cluster has a dedicated, isolated diagnostic agent throughout its lifecycle.

Core Features & Use Cases

  • Lifecycle Orchestration: Automates the creation, registration, and teardown of Cluster Agent profiles during cluster onboarding and decommissioning.
  • Delegated Diagnostics: Enables the Platform Agent to offload runtime debugging tasks to specific Cluster Agents via a kanban-based workflow.
  • Automated Governance: Includes an orphan-pruning mechanism that automatically cleans up profiles for clusters that no longer exist.

Quick Start

Use the cluster-agent-lifecycle skill to create a new agent profile for the production cluster located in the us-central1 region of the specified project.

Frequently Asked Questions about cluster-agent-lifecycle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GKE cluster agent lifecycle management for delegated diagnostics?

Automating GKE cluster agent lifecycle management uses this skill to orchestrate the creation, registration, and teardown of isolated Cluster Agent profiles for your GKE infrastructure, enabling delegated runtime diagnostics.

What is the best way to clean up orphaned cluster agent profiles on GKE?

Cleaning up orphaned cluster agent profiles on GKE relies on the automated governance mechanism in this skill, which prunes and removes profiles for clusters that no longer exist to maintain infrastructure hygiene.

How does kanban-based task delegation work for Kubernetes cluster debugging?

Kanban-based task delegation for Kubernetes cluster debugging works by allowing the Platform Agent to offload runtime debugging tasks to specific isolated Cluster Agents via a structured kanban board workflow.

Do I need Python 3 and a persistent data PVC to manage cluster agent profiles?

Yes, managing cluster agent profiles requires Python 3 and access to a persistent data PVC to maintain profile state and ensure proper kubeconfig isolation across your GKE infrastructure.

Can I isolate kubeconfig for individual GKE clusters during agent onboarding?

Isolating kubeconfig for individual GKE clusters during agent onboarding is supported by creating dedicated, isolated diagnostic agent profiles that maintain separate configuration state throughout the cluster lifecycle.

What happens to diagnostic agents when a GKE cluster is decommissioned?

When a GKE cluster is decommissioned, the lifecycle orchestration feature automatically handles the teardown of the dedicated Cluster Agent profile, ensuring no manual cleanup is needed for the isolated runtime diagnostics.