Skip to main content

UndeployPool

Undeploys a pool through the Communication Operator. Undeploy the pool's workloads first (UndeployWorkload); Cloud pools release their operator resources.

Examples

Basic usage:

octo-cli -c UndeployPool -id "670000000000000000000001"

Non-interactive:

octo-cli -c UndeployPool -id "670000000000000000000001" -y

Options

ShortLongRequiredDescription
-id--poolRtIdyesThe pool's runtime object ID
-y--yesnoSkip confirmation prompt

Notes

Undeploy the pool's workloads (Adapters and Applications) with UndeployWorkload before the pool itself; the operator removes the pool resources (CommunicationPool resource and broker secret for Cloud pools) once nothing runs in it.

Required before DisableCommunication, which is refused with HTTP 409 while any pool or workload of the tenant is still deployed (AB#4255).

Acts on the tenant of the active context; switch with UseContext or pass --context <name>.