Cleaning up
To finish let's clean up
- Remove the Ingress resource for the application
- Remove the service and the deployment
- Remove the Certificate resource
- Remove the secret that contains the token for the issuer
- Remove the issuer
- Remove the namespace
kubectl -n jss-academy delete Ingress hello-jss-ingresskubectl -n jss-academy delete svc hello-jss-svckubectl -n jss-academy delete deploy hello-jss-appkubectl -n jss-academy delete Certificate hello-jss.REPLACE_WITH_YOUR_DOMAIN_NAMEkubectl -n jss-academy delete secret access-token-for-tppkubectl -n jss-academy delete issuer academy-issuerkubectl delete ns jss-academy
Copy to clipboard
The TLS Protect for Kubernetes Agent periodically tracks changes to your cluster and on the next poll, will not show the deleted resources in the dashboard anymore. To validate, wait for a couple of minutes and log back into the TLS Protect for Kubernetes dashboard.
In the next course, let's look at the alerting capabilities in TLS Protect for Kubernetes