Uninstalling Protegrity Agent

Uninstalling Protegrity Agent

To uninstall the Protegrity Agent, run the following command.

helm uninstall protegrity-agent -n pty-protegrity-agent
kubectl patch ec2nodeclass protegrity-agent-nodeclass -p '{"metadata":{"finalizers":[]}}' --type=merge
kubectl delete namespace pty-protegrity-agent

To verify the uninstallation is successfully completed, run the following command:

kubectl get all -n pty-protegrity-agent 2>/dev/null; kubectl get ec2nodeclass,nodepool,nodes

If the command returns no output, all tracked resources for the product are successfully removed from the cluster.

This operation might require few minutes for clearing all the resources.


Last modified : April 13, 2026