Undeploy Agent Swarm
Triggered when an agent swarm is undeployed from an environment (see Deployments). Besides removing the agents from the environment, the job cleans up everything that was set up for them in the Agent Gateway.
The header shows the Agent Swarm and who Requested the undeployment. The environment expands to the cleanup phases:
- Undeployment — removes the agents from the environment
- Agent Gateway deregistration — removes the agents' registrations from the Agent Gateway of the environment's cluster
- Redirect URI removal — removes the redirect URIs registered for the agents' admin consoles
- Token release — releases the tokens issued to the agents
Things to know
- None of the phases above can be cancelled. If the environment has a Deployment Approval rule, the undeployment first waits for the approval of all groups; until then, whoever started it can cancel it on the Pending Approval tab.
- Every phase runs even if a previous one failed, so that as much as possible is cleaned up. If any phase failed, the job ends as Failed — check which phase failed and retry it.
- Undeployments and deployments of the same agent swarm in the same environment never run in parallel — they run one after another in the order they were requested.