Uninstall the Postman Insights Agent
If you need to remove the Postman Insights Agent from your local machine and deployment, follow the CLI instructions and the directions listed for your deployment: Kubernetes, AWS ECS, AWS EC2, and AWS Elastic Beanstalk. You can also contact Support.
CLI
To uninstall the Insights Agent client on Debian and macOS, follow the steps listed below. For all other distributions of Linux and other operating systems, remove the postman-insights-agent file from your file’s location.
To uninstall the Insights Agent client from Debian, run the following:
To uninstall the Insights Agent client from macOS, run the following:
Kubernetes
The Insights Agent uninstall on Kubernetes depends on whether you installed the Agent as a DaemonSet or sidecar.
DaemonSet
To remove the Insights Agent from your Kubernetes DaemonSet deployment, do the following:
-
Either delete all the created resources manually, or run the following command to delete the manifest file you downloaded:
-
Remove the environment variables added in the service configs.
Sidecar
To remove the sidecar from your Kubernetes sidecar deployment, do the following:
-
Access the sidecar in your Kubernetes deployment directory.
-
Find the
spec:section, then navigate to thecontainers:section within it. -
Delete the Postman Insights Agent container with
"image: public.ecr.aws/postman/postman-insights-agent:latest".
AWS ECS
On AWS ECS, the Insights Agent installation modifies the task definition of your service to include the Insights Agent sidecar. To uninstall the Insights Agent, revert to the earlier version of your task definition. To fully uninstall the agent, you can delete the task definition that contains the Insights Agent sidecar.
AWS EC2
To turn off the Insights Agent on AWS ECS, you need to stop the systemd service. To do so, run the following:
AWS Elastic Beanstalk
To remove the Insights Agent from your AWS Elastic Beanstalk deployment, do the following:
-
Remove the postman-insights-agent-beanstalk.config file from the
.ebextensionsfolder. -
Deploy your application to the Beanstalk environment using one of the following methods:
-
Remove the added ELB environment configurations.
Support
If you have questions, experience any issues, or have feedback on the beta product, please email the Postman Insights team or use the Postman Discord channel.