k8s.controller-lifecycle

Validate Kubernetes controller lifecycle correctness in Go-based controller-runtime projects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lburgazzoli/claude-plugins --skill k8s-controller-lifecycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s.controller-lifecycle
Source: https://github.com/lburgazzoli/claude-plugins/tree/main/skills/k8s.controller-lifecycle
Command: npx skills add https://github.com/lburgazzoli/claude-plugins --skill k8s-controller-lifecycle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kubernetes controllers often risk downtime and misbehavior if leader election, shutdown, webhook cert provisioning, or CRD upgrades are misconfigured. This skill analyzes these aspects to ensure robust lifecycle handling and upgrade safety across Go-based controllers using controller-runtime and kubebuilder patterns.

Core Features & Use Cases

  • Leader election validation for high availability in multi-replica deployments.
  • Graceful shutdown assessment to minimize downtime during rolling updates and terminations.
  • Webhook certificate provisioning visibility to ensure admission webhooks are properly secured.
  • CRD upgrade safety checks including multi-version serving and conversion strategies.

Quick Start

Run the lifecycle analyzer on your controller project to generate a lifecycle assessment report.

Frequently Asked Questions about k8s.controller-lifecycle

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

FAQPage Schema
How do I validate Kubernetes controller leader election and graceful shutdown?

Kubernetes controller lifecycle validation analyzes leader election and graceful shutdown configurations to ensure high availability and minimize downtime. It verifies signal handling and manager setup using gopls for Go-based controller-runtime projects.

What does webhook certificate provisioning validation do for Kubernetes controllers?

Webhook certificate provisioning validation checks your admission webhook manifests and certificate setup to ensure controllers are properly secured. It analyzes cert provisioning configurations in Go-based kubebuilder projects to prevent misconfigured webhooks.

How do I check CRD upgrade safety for multi-version serving in Kubernetes controllers?

CRD upgrade safety checks validate multi-version serving and conversion strategies in your CRD manifests. The analyzer inspects these configurations to ensure Kubernetes controller upgrades proceed safely without serving conflicts or schema drift.

Can I use this lifecycle analyzer for on-prem Kubernetes deployments built with kubebuilder?

Yes, the lifecycle analyzer works with Go-based controllers built using controller-runtime and kubebuilder patterns across both GitHub repositories and on-prem deployments. It validates manager config, deployment manifests, and webhook manifests regardless of hosting environment.

Why does my Kubernetes controller lose leadership during rolling updates?

Controller leadership loss during rolling updates often stems from misconfigured leader election or improper signal handling in graceful shutdown. The lifecycle analyzer verifies these mechanisms using gopls to detect configuration gaps causing downtime.

Do I need controller-runtime to assess my Kubernetes controller lifecycle health?

Yes, this lifecycle assessment targets Go-based controllers built with controller-runtime and kubebuilder patterns. It validates manager config, deployment manifests, and webhook manifests specific to that framework ecosystem.