It is possible In order to delete a cluster using it is possible to use the following command:
| Code Block |
|---|
$ openstack coe cluster delete mycluster
Request to delete cluster mycluster has been accepted. |
The cluster deletion can be monitored via the list command:
| Code Block |
|---|
$ openstack coe cluster list
+---------------------+--------------------+------------+------------+--------------+--------------------+---------------+
| uuid | name | keypair | node_count | master_count | status | health_status |
+---------------------+--------------------+------------+------------+--------------+--------------------+---------------+
| 5rb3t3e-d2cgp-37c7- | mycluster | mykeypair | 2 | 3 | DELETE_IN_PROGRESS | HEALTHY |
| b54d1-v6nm84s9gf0 | | | | | | |
+---------------------+--------------------+------------+------------+--------------+--------------------+---------------+ |
Once the cluster is deleted the list command will not return the deleted cluster anymore.