Uninstalling a runner depends on how the runner was originally deployed. The following tabs highlight the steps to ensure that runners are successfully uninstalled from your environment without leaving residual services or configurations.
Note
A deleted runner cannot be restored.
Option 1 - As a systemd service
systemd serviceComplete the following steps:
Specify the following command to stop the service if it is currently running:
sudo systemctl stop traceable-runner.serviceSpecify the following command to check the status of the service:
sudo systemctl status traceable-runner.serviceThe above command and recent log entries show whether the service is active, inactive, or has failed.
Specify the following command to disable the service:
sudo systemctl disable traceable-runner.serviceThe above command prevents the service from starting automatically at boot time.
Specify the following command to remove the service unit file from your custom location:
sudo rm /etc/systemd/system/traceable-runner.serviceThe above command removes the file from the
/etc/systemd/systemdirectory. This directory usually contains thesystemdservice files created or customized by the system administrator.Specify the following command to remove the service unit file from the standard location:
sudo rm /user/lib/systemd/system/traceable-runner.serviceThe above command removes the file from the
/user/lib/systemd/system/directory. This directory usually containssystemdservice files provided by installation packages.Specify the following command to reload the
systemdmanager configuration:sudo systemctl daemon-reloadThe above command reloads the manager configuration. You must run this command to ensure that
systemdis aware of the above steps.
Option 2 - Not as a service
Complete the following steps:
Specify the following command to stop the runner:
traceable runner stop <runner_name>Ensure that the Traceable runner process is currently not running:
ps -ef | grep traceableSpecify the following command to remove the Traceable CLI installation:
delete $HOME/.local/traceable directory
Enter the following command to uninstall the runner:
helm uninstall <deployment_name>Complete the following steps:
Open your web browser and log in to the AWS management console.
In the console, navigate to the Amazon Elastic Container Service.
Click the cluster where you installed the runner.
Delete the runner service.