Delete the Generated Domain Home

Sometimes in production, but most likely in the testing environment, you may want to remove the domain home that is generated using the create-domain.sh script. This script creates the delete-domain-job.yaml file in the /<path to output-directory>/weblogic-domains/<domainUID> directory. For example:
outputdir/weblogic-domains/domainmb2/delete-domain-job.yaml
You can delete the domain by running the generated delete-domain-job.yaml file in the /<path to output-directory>/weblogic-domains/<domainUID> directory, as shown in the following example:
$ kubectl create -f delete-domain-job.yaml