Skip to content
On this page

Start, stop, and restart services ​

These operations require Docker permissions on the target host or workload management permissions in the target cluster. Restarting interrupts connections. Finish running tasks and identify the impact before proceeding.

Compose ​

From the root of the installed Compose package, check both groups of services:

bash
sudo ./setup.sh status

To maintain an individual application service, go to host/ in the package. These commands affect only tego-server:

bash
cd host
sudo docker compose restart tego-server
sudo docker compose ps --all
OperationCommand in host/Result
Stop application servicessudo docker compose stopStops existing application containers without deleting them.
Start stopped application servicessudo docker compose startStarts the original containers with their previous images and environment variables.

These commands do not affect infrastructure in infrastructure/master/ and do not stop all digital employee runtime containers. To stop writes across the platform, follow the backup procedure.

To change image versions, follow the upgrade procedure. After changing application environment variables, apply the configuration changes by recreating the affected services. restart and start do not reload environment variables.

Kubernetes ​

On Node1, check status:

bash
./setup.sh status
kubectl -n tego-avatar-runtime get pods,pvc

To restart only the server, run:

bash
kubectl -n tego-avatar rollout restart deployment/tego-avatar-server
kubectl -n tego-avatar rollout status deployment/tego-avatar-server --timeout=10m

The platform manages digital employee runtime Pods. Do not bulk-delete Pods in tego-avatar-runtime as a routine restart step. Do not delete PVCs during troubleshooting.

Uninstallation ​

OperationScope
Compose: sudo ./setup.sh uninstallRemoves application, bundled infrastructure, and managed runtime containers and their networks. Retains installer-managed bind-mounted data, environment files, and .secrets.
Compose: sudo ./setup.sh uninstall --purgeAlso removes managed bind-mounted data, environment files, and secrets. clean.sh performs the same kind of cleanup.
Kubernetes: ./setup.sh uninstallUninstalls the application Helm release. Retains PVCs and Secrets.
Kubernetes: ./cleanup.shRemoves K3s, bundled infrastructure, and deployment directories on the configured nodes. This is not an application restart.

Compose uninstallation uses down -v. It keeps the standard bind-mounted data directories, but custom Compose named volumes may be deleted. Kubernetes --purge and cleanup.sh --purge-data increase the scope of data deletion. Complete a backup before running them.

Verify recovery ​

Check container health or Pod readiness. Open the live entry point and verify sign-in, a digital employee task, and file reads and writes. Before resubmitting a failed task, check whether the original completed or triggered an external action.