-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Description
When there is no node in the node pool in the cluster, when we scale that node pool using Civo CLI, it's giving the error.
This functionality is working fine in the UI.
Steps to Replicate
- Create a Civo Kubernetes cluster with two node pools
- Scale one of the node pools to zero using the UI
- Using the CLI, scale the nodes in the node pool from zero to the desired amount with this command:
civo kubernetes node-pool scale CLUSTER_NAME NODEPOOL_ID -n <NUMBER_OF_NODES>
For example, i tried to scale the node in the node pool that is empty, it gives an error:
$ civo kubernetes node-pool scale node-test 76a32cac-60a3-4a69-999d-251fac214c10 -n 2
Please check if you are using the latest version of CLI and retry the command
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues)
Error: Unable to find "76a32cac-60a3-4a69-999d-251fac214c10" node pool inside "node-test" cluster
For reference, I'm attaching a video here:
node-pool-issue.mp4
Acceptance Criteria
- Scaling the node pool to the zero nodes using Civo CLI should work.
- Civo CLI should be able to successfully scale a node pool with zero nodes.
Metadata
Metadata
Assignees
Labels
No labels