Skip to content

Cleaning Up#

Depending on how far you got with the tutorial, you may need different steps to cleanup your cluster. You can use the instructions here to remove the various components.

HTTP Routing and TLS#

helm uninstall -n platform-traefik traefik
helm uninstall -n platform-cert-manager cert-manager
kubectl delete namespaces platform-traefik ingress-demo platform-cert-manager

GitOps#

kubectl delete -f https://github.com/fluxcd/flux2/releases/latest/download/install.yaml
kubectl delete namespace sample-tenant

Policy Enforcement#

helm uninstall -n platform-gatekeeper-system gatekeeper-policies
helm uninstall -n platform-gatekeeper-system gatekeeper
kubectl delete namespace platform-gatekeeper-system

Log Forwarding#

helm uninstall -n platform-filebeat filebeat
kubectl delete namespace platform-filebeat
kubectl delete assignmetadata sample-tenant-log-index