huawei-cloud-cce-cluster-upgrade-planner

Plans and assesses Huawei Cloud CCE Kubernetes cluster version upgrades via hcloud CLI.

1|Updated May 27, 2026
One-click install
npx skills add https://github.com/pancake0001/huawei-cloudnative-skills --skill huawei-cloud-cce-cluster-upgrade-planner-pancake0001
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: huawei-cloud-cce-cluster-upgrade-planner
Source: https://github.com/pancake0001/huawei-cloudnative-skills/tree/main/releases/container/cce-unscheduled/huawei-cloud-cce-cluster-upgrade-planner
Command: npx skills add https://github.com/pancake0001/huawei-cloudnative-skills --skill huawei-cloud-cce-cluster-upgrade-planner-pancake0001

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Upgrading a CCE cluster's Kubernetes version is risky: skip-version attempts fail, deprecated APIs break workloads, addon incompatibilities surface mid-upgrade, and teams often underestimate the maintenance window. This Skill produces a structured upgrade assessment—path validation, 76-item pre-check, addon compatibility, window estimation, and execution preview—before any irreversible change is made. ## Core Features & Use Cases - Upgrade Path Validation: Queries ListClusterUpgradePaths and enforces no-skip-version rules, patch-first ordering, and version-specific breaking changes (PSP removal in v1.25, Docker deprecation in v1.27, control node IP changes in v1.28). - 76-Item Pre-Check & Addon Compatibility: Runs ShowClusterUpgradeInfo or CreateUpgradeWorkFlow, maps failed checks to fixes, and classifies addons by upgrade timing (auto, before, or after cluster upgrade). - Window Estimation & Execution Preview: Calculates total upgrade time from node count, batch strategy, and addon count, then generates hcloud CLI commands gated behind a two-step confirmation mechanism. - Use Case: Before upgrading a 10-node cluster from v1.23 to v1.25, use this Skill to confirm the path is direct, verify all 76 pre-checks pass, confirm CoreDNS and NGINX Ingress compatibility, and get an estimated ~4-hour window with rollback strategy. ## Quick Start Ask the assistant to assess upgrading your CCE cluster from its current version to a target version, providing the cluster ID and region so it can run the pre-check and produce an upgrade plan.

Frequently Asked Questions about huawei-cloud-cce-cluster-upgrade-planner

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

FAQPage Schema
How do I upgrade a Huawei Cloud CCE cluster Kubernetes version?▼

Use hcloud CLI to collect cluster state, query ListClusterUpgradePaths, run the pre-check via ShowClusterUpgradeInfo or CreateUpgradeWorkFlow, then execute UpgradeCluster with inPlaceRollingUpdate strategy. Control plane upgrades first, then node pools, then addons.

Can CCE skip Kubernetes versions during upgrade?▼

No, CCE does not support skip-version upgrades. You must follow the official upgrade path step by step, for example v1.21 to v1.23 to v1.25, and each hop requires a full pre-check, upgrade, and verification cycle.

How long does a CCE cluster upgrade take?▼

Estimate total time as control plane (10-30 min) plus node batches (5-15 min per node in batches of 1, 4, then up to 20) plus addons (5-15 min each) plus 30 minutes verification and a 20% buffer. A 10-node, 5-addon cluster typically needs about 4 hours.

What breaks when upgrading CCE to Kubernetes v1.25?▼

PodSecurityPolicy is removed in v1.25, so you must migrate to Pod Security Admission before upgrading. The 76-item pre-check also flags deprecated API usage found in audit logs and Helm templates.

Does the upgrade execute automatically after the assessment?▼

No. The Skill only generates assessment reports and execution preview commands. UpgradeCluster, UpgradeNodePool, and CreateUpgradeWorkFlow require explicit user confirmation before any execution because control plane upgrades are irreversible.

What are the prerequisites for running a CCE upgrade assessment?▼

You need hcloud (KooCLI) version 7.2.2 or later installed and a configured credential profile, verified with hcloud version and hcloud configure list. The cluster must be in Available status and not under upgrade control.