In some circumstances you may wish to manually create your domain custom resource. If you have created your own Docker image containing your domain and the specific patches that it requires, then this approach will probably be the most suitable for your needs.
To create the domain custom resource, just make a copy of the sample domain.yaml, and then edit it using the instructions provided in the comments in that file. When it is ready, you can create the domain in your Kubernetes cluster using the command:
$ kubectl apply -f domain.yaml
You can verify the domain custom resource was created using this command:
$ kubectl -n YOUR_NAMESPACE get domains
You can view the details of the domain using this command:
$ kubectl -n YOUR_NAMESPACE describe domain YOUR_DOMAIN
In both of these commands, replace
YOUR_NAMESPACE with the namespace in which you created the domain, and
YOUR_DOMAIN with the
domainUID you chose.