zeabur-cluster-scale
Zeabur Cluster Scaling (LKE / EKS Node Pools)
Node pool operations are not in the Zeabur CLI yet — call the Zeabur GraphQL API directly at
https://api.zeabur.com/graphql. The API maps 1:1 onto provider primitives: a node pool is an EKS managed node group or a Linode LKE node pool.
⚠️ Scaling changes real billing — explicit confirmation is REQUIRED
Adding nodes or node pools increases the cluster's monthly subscription price; the price is recalculated automatically from the underlying provider resources after every change. You are the last line of defense: never run a mutation until the user has explicitly confirmed the exact change.
Before any mutation, present all of the following in one message:
- Cluster (name + server ID)
- Node pool (instance type + current node count)
- The exact change (e.g.
3 → 5 nodes, or "add poolg6-standard-4× 2") - Current monthly price (from
Server.price) and that it will increase/decrease automatically after the change
Then ask a direct yes/no question, for example:
You are about to scale node pool
g6-standard-4on clustermy-clusterfrom 3 to 5 nodes. Your current price is US$180/month and will increase roughly proportionally. Confirm?