/openshift-ops:openshift-cluster-upgradefrom openshift-ops
Plans and troubleshoots OpenShift cluster upgrades including pre-upgrade gate checks, upgrade path decisions (standard, EUS-to-EUS, large clusters, air-gapped), and stuck-upgrade diagnosis.
Ships in openshift-ops. 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.
None: SKILL.md is the whole skill.
OpenShift cluster upgrades cannot be rolled back. There is no "undo." The only recovery from a catastrophically failed upgrade is restoring from an etcd backup, which requires full cluster downtime and loses all changes made after the backup. Prevention is everything — every section below exists to prevent you from starting an upgrade that will fail.
Do NOT proceed unless ALL of these pass:
If any gate fails, fix it first. Starting an upgrade on a degraded cluster compounds problems.
oc adm upgrade, pick the target version. This is the happy path.oc patch mcp worker --type merge -p '{"spec":{"paused":true}}'). This lets the control plane update first. Then unpause workers in batches by unpausing one MCP at a time or by using node selectors. This prevents all workers from draining simultaneously.--to-image pointing to the mirrored image.oc get co.oc get mcp — UPDATED=True, UPDATING=False, DEGRADED=False means complete.Follow this priority chain — each step is the most likely cause at that point:
oc describe clusterversion — the status conditions usually contain the actual error message explaining what's blockedoc get co — look for DEGRADED=True or AVAILABLE=False. This is the blocker ~60% of the timeoc get mcp — if worker or master pool shows DEGRADED=True, a node failed to apply the new machine configoc get pdb -A) that prevent eviction — a PDB with maxUnavailable: 0 will block drain foreveroc logs -n openshift-machine-config-operator with the node-specific daemon pod--force on oc adm upgrade bypasses version-graph safety checks. It does NOT force a stuck upgrade to continue. Almost never correct.--allow-explicit-upgrade is only for upgrading to versions not in the recommended graph. Don't use it for normal upgrades.oc adm upgrade --clear cancels a pending upgrade but does NOT revert changes already applied. Use only if the upgrade hasn't started yet.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redhat-community-ai-tools/claude-plugins --plugin openshift-ops4 skills in this plugin
/openshift-debuggingDiagnose OpenShift cluster issues using layered triage, failure-mode classification, and prioritized diagnostic workflows./openshift-node-operationsNode lifecycle management with focus on safe drain procedures, automated-vs-manual infrastructure decisions, and node failure diagnosis./openshift-operator-troubleshootingDiagnose degraded cluster operators and failing OLM operators using status-triple analysis, CSV lifecycle debugging, and OLM component triage.Other plugins' skills for the same job