Remove the domain’s ingress routes by using kubectl
.
$ kubectl delete ingressroute traefik-ingress-sample-domain1-admin-server -n sample-domain1-ns
$ kubectl delete ingressroute traefik-ingress-sample-domain1-cluster-cluster-1 -n sample-domain1-ns
$ kubectl delete ingressroute traefik-ingress-sample-domain2-cluster-cluster-1 -n sample-domain1-ns
Use kubectl
to delete the domain resource.
$ kubectl delete domain sample-domain1 -n sample-domain1-ns
Use kubectl
to confirm that the WebLogic Server instance Pods and Domain are gone.
$ kubectl get pods -n sample-domain1-ns
$ kubectl get domains -n sample-domain1-ns
Use kubectl
to delete the cluster resource.
$ kubectl delete cluster sample-domain1-cluster-1 -n sample-domain1-ns
Remove the Kubernetes Secrets associated with the domain.
$ kubectl -n sample-domain1-ns delete secret sample-domain1-weblogic-credentials
Remove the operator.
$ helm uninstall sample-weblogic-operator -n sample-weblogic-operator-ns
Remove the operator’s namespace.
$ kubectl delete namespace sample-weblogic-operator-ns
Remove the Traefik ingress controller.
$ helm uninstall traefik-operator -n traefik
Remove the Traefik namespace.
$ kubectl delete namespace traefik