一键导入
openshift-cluster-upgrade
Plan and troubleshoot OpenShift cluster upgrades with focus on irreversibility, upgrade-path validation, and stuck-upgrade diagnosis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan and troubleshoot OpenShift cluster upgrades with focus on irreversibility, upgrade-path validation, and stuck-upgrade diagnosis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Report a bug in Jira without fixing it — creates a Bug ticket with proper description, links it to an epic, and assigns it. Use when the user says 'report a bug', 'file a bug', 'log a bug', 'open a bug ticket', or wants to track a bug without immediately writing a fix.
Diagnose OpenShift cluster issues using layered triage, failure-mode classification, and prioritized diagnostic workflows.
Node lifecycle management with focus on safe drain procedures, automated-vs-manual infrastructure decisions, and node failure diagnosis.
Diagnose degraded cluster operators and failing OLM operators using status-triple analysis, CSV lifecycle debugging, and OLM component triage.
Manage DCI jobs, components, Jira tickets, GitHub/GitLab issues, Red Hat support cases, and Google Drive docs via the dci-mcp-server MCP integration
Google Drive: Upload a file with automatic metadata.
| name | openshift-cluster-upgrade |
| description | Plan and troubleshoot OpenShift cluster upgrades with focus on irreversibility, upgrade-path validation, and stuck-upgrade diagnosis. |
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.