Delete domain resources

After running the samples, you will need to release domain resources that can then be used for other purposes. The script in this sample demonstrates one approach to releasing domain resources.

Use this script to delete domain resources

$ ./ \
  -d  domain-uid[,domain-uid...] \
  [-s max-seconds] \

The required option -d takes domain-uid values (separated by commas and no spaces) to identify the domain resources that should be deleted.

To limit the amount of time spent on attempting to delete domain resources, use -s. The option must be followed by an integer that represents the total number of seconds that will be spent attempting to delete resources. The default number of seconds is 120.

The optional option -t shows what the script will delete without executing the deletion.

To see the help associated with the script:

$ ./ -h