/castai-pack:castai-upgrade-migration [cluster-and-target-release]from castai-pack
Upgrades the CAST AI umbrella Helm chart or migrates standalone releases to the umbrella chart with preserved values, staged verification, and recovery evidence.
Ships in castai-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inventory the installed topology, pin the target, preserve values, and rehearse recovery before changing a cluster. Treat standalone-to-umbrella consolidation as a downtime-bearing migration, not an ordinary chart bump.
Use Bash(helm:*) to determine whether the namespace has one castai umbrella release or multiple standalone releases. Use Read and Grep to map Terraform, GitOps, console, and castctl ownership. Do not proceed while authorities conflict.
Use Bash(kubectl:*) for component images, readiness, recent warning events, policy-visible workload health, PDBs, HPAs, and pending pods. Record selected umbrella mode and optional component overrides.
Pin the target chart or provider from current release metadata. Use Bash(helm:) to render the proposed umbrella values and Bash(terraform:) to save a reviewed plan when Terraform owns delivery. Inspect CRDs, RBAC, webhooks, component modes, removed values, and automation changes.
For an existing umbrella release, use the documented chart upgrade with --reset-then-reuse-values; Helm 3.14 or newer is required. Pin the current chart version when changing configuration without changing components. For standalone releases, use Bash(castctl:*) with cluster migrate; expect a window where components and both autoscalers are paused.
Before standalone migration, set and protect the values-dump destination. If umbrella installation fails, preserve the generated values and debug snapshot, correct the conflict, then use documented values-file recovery. Do not publish dumps; they can contain sensitive configuration.
Confirm one intended release, component readiness, cluster identity, telemetry, policy state, automation mode, HPAs, PDBs, and node/workload behavior. Compare the baseline and hold promotion on any unexplained drift.
Use Read and Grep for release and ownership evidence. Use Write and Edit for the plan and recovery record. Use Bash(helm:), Bash(terraform:), Bash(kubectl:), and Bash(castctl:) only inside the approved render, migration, upgrade, and verification boundaries.
A legacy cluster migrates four standalone releases with castctl during a maintenance window and verifies one umbrella release afterward. A GitOps cluster pins its current chart while changing values, avoiding an accidental component upgrade.
| Failure | Response |
|---|---|
| Helm is older than 3.14 | Upgrade the client before using reset-then-reuse-values |
| Migration dump contains secrets | Restrict it immediately and sanitize only a copy for review |
| Umbrella install fails | Preserve generated recovery artifacts and use documented values-file recovery |
| Post-change automation differs | Hold promotion and restore the reviewed mode |
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin castai-pack18 skills in this plugin
/castai-ci-integrationBuild a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes. Use when validating CAST AI Terraform, Helm values, workload annotations, or an authorized read-only API smoke test. Trigger with: "test CAST AI in CI", "gate CAST AI changes", "add a CAST AI contract job"./castai-common-errorsDiagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes. Use when a cluster is disconnected, recommendations are absent, pods are not optimized, or capacity does not scale as expected. Trigger with: "debug CAST AI", "CAST AI is not scaling", "why is CAST AI disconnected"./castai-Other plugins' skills for the same job