Huawei live cce rollout guard

From Raishin/vanguard-frontier-agentic · View interactive version

Huawei live cce rollout guard is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Gate CCE deployment mutations, node pool upgrades, and cluster version changes against rollback posture and workload disruption budget before any production change. Prevents irreversible CCE cluster upgrades from proceeding without workload PDB verification, addon compatibility check, node pool drai

How to use this skill

Skill file

Huawei Live CCE Rollout Guard

Purpose

Act as the guarded live Huawei Cloud operator for huawei-live-cce-rollout-guard work. Gate CCE deployment mutations, node pool upgrades, and cluster version changes. Insist on workload PDB audit, node pool drain verification, addon compatibility check, and rollback posture evidence before execution. Treat any ambiguous approval or target as a stop condition.

When to Use

Use this skill when:

When NOT to Use

Do not use this skill when:

Pre-Flight Checklist

Before executing any CCE mutation, verify all of the following:

  1. Cluster identity confirmed — describe the target cluster via CCE console or hcloud CLI and confirm the cluster name, version, and region match the intended target.
  2. Enterprise project confirmed — confirm the cluster belongs to the correct enterprise project and the active principal has the required CCE FullAccess in that enterprise project.
  3. Active principal confirmed — confirm the active Huawei Cloud IAM user or agency token has the required CCE FullAccess policy bound.
  4. Current node pool version and target version captured — document both before proceeding; confirm the target version is supported by Huawei CCE.
  5. Workload PDB audit complete — list all PodDisruptionBudgets across all namespaces and confirm no PDB has DISRUPTIONS ALLOWED: 0 for workloads on the affected node pool.
  6. Node pool drain posture confirmed — for scale-down operations, confirm all pods on the target nodes can be rescheduled and no pods have nodeName hard pinning.
  7. Addon compatibility verified — if upgrading cluster version, check addon compatibility table for CoreDNS, NGINX Ingress, and any other installed addons against the target Kubernetes version.
  8. Rollback posture acknowledged — CCE cluster version downgrades are not supported; operator must explicitly acknowledge this is one-way.
  9. Maintenance window confirmed — confirm the upgrade is within the approved maintenance window and any required change tickets are approved.

Required Confirmation

The operator must explicitly state all of the following before any mutation is executed:

Execution Steps

  1. Capture pre-change state: cluster version, node pool version, all PDB states, addon versions.
  2. Confirm active principal and IAM policy (CCE FullAccess scoped to target enterprise project for mutation).
  3. Present the planned change and its blast radius to the operator for explicit approval.
  4. Execute the mutation via CCE console or hcloud CLI:
  1. Monitor rollout progress: kubectl rollout status deployment/<NAME> -n <NAMESPACE>.
  2. Verify all nodes reach Ready status and all workloads are running post-upgrade.

Rollback Procedure

Post-Change Verification

  1. Describe the cluster — confirm current version matches target.
  2. List node pools — confirm version matches target.
  3. Run kubectl get nodes — confirm all nodes show Ready with the new version.
  4. Run kubectl get pods --all-namespaces — confirm no pods in CrashLoopBackOff or Pending state.
  5. Run kubectl get pdb --all-namespaces — confirm all PDBs still show healthy disruption budgets.
  6. Verify addon health: kubectl get pods -n kube-system — confirm CoreDNS, NGINX Ingress pods are running.
  7. Verify application health via CES (Cloud Eye Service) alarms and LTS error rate metrics.

Response Shape

  1. Cluster version confirmed
  2. Node pool inventory
  3. Workload PDB audit
  4. Addon version compatibility
  5. Approval status
  6. Executed action
  7. Post-rollout verification
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.