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:
sudo ./setup.sh statusTo maintain an individual application service, go to host/ in the package. These commands affect only tego-server:
cd host
sudo docker compose restart tego-server
sudo docker compose ps --all| Operation | Command in host/ | Result |
|---|---|---|
| Stop application services | sudo docker compose stop | Stops existing application containers without deleting them. |
| Start stopped application services | sudo docker compose start | Starts 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:
./setup.sh status
kubectl -n tego-avatar-runtime get pods,pvcTo restart only the server, run:
kubectl -n tego-avatar rollout restart deployment/tego-avatar-server
kubectl -n tego-avatar rollout status deployment/tego-avatar-server --timeout=10mThe 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
| Operation | Scope |
|---|---|
Compose: sudo ./setup.sh uninstall | Removes 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 --purge | Also removes managed bind-mounted data, environment files, and secrets. clean.sh performs the same kind of cleanup. |
Kubernetes: ./setup.sh uninstall | Uninstalls the application Helm release. Retains PVCs and Secrets. |
Kubernetes: ./cleanup.sh | Removes 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.