vinfra service compute delete

Delete all nodes from the compute cluster:

usage: vinfra service compute delete

Example:

# vinfra service compute delete
+---------+--------------------------------------+
| Field   | Value                                |
+---------+--------------------------------------+
| task_id | 063e8a15-fcfe-4629-865f-b5e5fa44b38f |
+---------+--------------------------------------+

This command creates a task to release nodes from the compute cluster.

Task outcome:

# vinfra task show 063e8a15-fcfe-4629-865f-b5e5fa44b38f
+---------+--------------------------------------------------------------+
| Field   | Value                                                        |
+---------+--------------------------------------------------------------+
| details |                                                              |
| name    | backend.presentation.compute.tasks.DestroyComputeClusterTask |
| result  |                                                              |
| state   | success                                                      |
| task_id | 063e8a15-fcfe-4629-865f-b5e5fa44b38f                         |
+---------+--------------------------------------------------------------+