spatial local worker replace
Replaces an existing worker with a different one.
Issues a request to replace a worker instance in the load balancing system of the locally-running deployment. If you supply the ID of a 'replacing' worker instance that you want to take over some work, and the ID of an 'existing' worker instance whose work the replacing worker instance should take over, the load balancer will internally remap existing authority from the existing worker instance to the replacing worker instance. If the ‘replacing’ worker is already connected, it will be assigned the ‘existing’ worker’s authority immediately. If the ‘replacing’ worker is not connected, it will receive the authority of ‘existing’ worker upon connection to the deployment.
spatial local worker replace [flags]
--existing_worker_id string The worker ID of a worker instance already connected to the deployment, whose load-balancing assignments should be taken over by the replacing worker instance --local_service_grpc_port uint16 The port on which the local version of Improbable's public gRPC services are running. (default 22000) --replacing_worker_id string The worker ID of the worker instance that should take over from the existing worker. The replacing worker instance can be connected to the deployment already, but it doesn't have to be.
Options inherited from parent commands
--json_output Print output in JSON format. Useful when you need to parse the Spatial CLI output. --no_animation Disable dynamic output elements such as the spinner, progress bars, etc.
- spatial local worker - Commands for managing local workers.