What happens when the "Stop" button is pressed in the Replicated Admin UI?

I notice that there is some mixed behavior when stopping an app managed by Replicated. Some things are deleted, some things are scaled to 0 replicas, and others are left running. What specific steps are taken by Replicated to “stop” an app? What resource types are subject to which stop behaviors?

When running Replicated with Kubernetes, Replicated will attempt to stop all running containers. This includes scaling deployments, replication controllers, and stateful sets to zero replicas and deleting daemon sets and cron jobs.

We are aware this is not a complete set of resources with pod template specs and we are working to expand this list. Please feel free to request specific resources if you would like us to add additional support.