Cleanup
To remove the resources you have created in these samples:
-
Delete the resources associated with the domain.
This deletes the domain and any related resources that are labeled with the domain UID
sample-domain1andsample-domain2.It leaves the namespace intact, the operator running, the load balancer running (if installed), and the database running (if installed).
NOTE: When you delete a domain, the operator will detect your domain deletion and shut down its pods. Wait for these pods to exit before deleting the operator that monitors the
sample-domain1-nsnamespace. You can monitor this process using the commandkubectl get pods -n sample-domain1-ns --watch(ctrl-cto exit). -
If you set up the Traefik ingress controller:
-
If you set up a database for the Update 4 use case:
-
Delete the operator and its namespace:
-
Delete the domain’s namespace:
-
Delete the images you may have created in this sample: