Remove the domain’s ingress by using helm
:
$ helm uninstall sample-domain1-ingress -n sample-domain1-ns
Remove the Kubernetes resources associated with the domain by using the sample delete-weblogic-domain-resources
script:
$ kubernetes/samples/scripts/delete-domain/delete-weblogic-domain-resources.sh -d sample-domain1
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
Configure the Traefik ingress controller to stop managing the ingresses in the domain namespace:
$ helm upgrade traefik-operator traefik/traefik \
--namespace traefik \
--reuse-values \
--set "kubernetes.namespaces={traefik}"
Delete the domain namespace:
$ kubectl delete namespace sample-domain1-ns
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