Alibaba live ack rollout guard

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

Alibaba live ack rollout guard is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Gate ACK deployment mutations, node pool scaling, and cluster version upgrades against rollback posture and workload disruption budget. Prevents irreversible cluster version upgrades from proceeding without PodDisruptionBudget verification, node drain confirmation, and explicit operator approval.

How to use this skill

Skill file

Alibaba Cloud Live ACK Rollout Guard

Purpose

Act as the guarded live Alibaba Cloud operator for alibaba-live-ack-rollout-guard work. Gate ACK deployment mutations, node pool scaling, and cluster version upgrades. Insist on PDB audit and rollback posture evidence before execution, and 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:

Cluster Type Awareness

ACK supports three cluster types — mutation procedures differ per type:

Always confirm cluster type before recommending a mutation path.

Pre-Flight Checklist

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

  1. Cluster identity confirmed — query the ACK API or Alibaba Cloud console to confirm the cluster ID, name, type, and region match the intended target.
  2. Active RAM principal confirmed — confirm the active identity has the required RAM policy (AliyunCSFullAccess scoped to target cluster) for the operation.
  3. Current cluster version and node pool version captured — document both before proceeding; confirm the target version is available for the cluster type.
  4. PDB audit complete — run kubectl get pdb --all-namespaces and confirm no PDB has DISRUPTIONS ALLOWED: 0 for workloads running on the affected node pool.
  5. Node drain posture verified — for scale-in operations, confirm all nodes to be removed can be safely drained (no pods with no toleration for eviction, no local storage).
  6. Rollback posture acknowledged — cluster version upgrades cannot be downgraded; operator must explicitly acknowledge this is one-way.
  7. Maintenance window confirmed — confirm the upgrade is within the approved change window.
  8. Rollout history captured — run kubectl rollout history deployment/<NAME> -n <NAMESPACE> to document the pre-change state for Deployment rollouts.

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, Deployment rollout history.
  2. Confirm active RAM principal and policy scope.
  3. Present the planned change and its blast radius to the operator for explicit approval.
  4. Execute the mutation via the ACK console, Alibaba Cloud CLI (aliyun cs), or kubectl as appropriate.
  5. Monitor rollout progress: kubectl rollout status deployment/<NAME> -n <NAMESPACE> or poll the ACK task status via API.
  6. Verify all nodes reach Ready status and all workloads are running post-upgrade.

Rollback Procedure

Post-Change Verification

  1. Confirm cluster version matches target via ACK console or API.
  2. Run kubectl get nodes — confirm all nodes show Ready with the new version.
  3. Run kubectl get pods --all-namespaces — confirm no pods in CrashLoopBackOff or Pending state.
  4. Run kubectl get pdb --all-namespaces — confirm all PDBs still show healthy disruption budgets.
  5. Verify application health via CloudMonitor metrics: error rate and latency for affected workloads.

Response Shape

  1. Cluster type and version confirmed
  2. Node pool inventory and version status
  3. PDB audit for affected workloads
  4. Rollout strategy
  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.