There are two nomad clusters
-
region=global nomad:v1.2.6
-
region=jinhua nomad:v1.3.1
When I do this, it looks like it will delete ic-es for both regions, but globaldoes not have jobs, Jinhua has jobs
curl --request DELETE 'http://global.com/v1/namespace/ic-es'
So this will be wrong
1 error occurred:
* namespace "ic-es" has non-terminal jobs in regions: [jinhua]
When I tried to execute this, there were no errors, but no deletions were successful
curl --request DELETE 'http://global.com/v1/namespace/ic-es®ion=global'