The simplest way to remove a lost operator is to click the delete icon for the node on the /cluster
page of the Replicated console. However there may be some cases where an operator needs to be removed but does not appear on the /cluster
page. When that happens, you can follow this procedure to manually remove it.
- Go to the
/db
page of the Replicated console. - Select the
Scheduler
database from the dropdown menu. - Run
SMEMBERS operator.ids
and click the Execute button - Find the ID of the lost operator in the results and then run
SREM operator.ids <id>
and click Execute - On the host run
replicatedctl app stop --force