Uninstalling
Removing Tayga and removing its data are two separate steps. Every method below keeps the data by default, so a later install picks it up again: Docker volumes and Kubernetes PersistentVolumeClaims survive an uninstall until you delete them.
sh ~/tayga/install.sh --uninstallStops and removes the containers and the network. The data volumes (tayga_clickhouse-data, tayga_redpanda-data) and ~/tayga stay.
To delete the data too:
sh ~/tayga/install.sh --uninstall --purgeThis deletes the volumes and the files the installer put in the directory; the directory itself goes when nothing else is left in it. Add --dir if you installed elsewhere.
In the install directory:
docker compose down # removes the containers and network; keeps the volumesTo delete the data too:
docker compose down -v # also deletes the clickhouse-data and redpanda-data volumesIf you started the sample Collector, remove it as well: docker rm -f tayga-otelcol.
helm uninstall tayga --namespace taygaThe bundled ClickHouse and Redpanda StatefulSets’ PersistentVolumeClaims are kept, as Kubernetes does for every StatefulSet. To delete the data (the names are for the release tayga):
kubectl --namespace tayga delete pvc data-tayga-clickhouse-0 data-tayga-redpanda-0Then remove the namespace if nothing else lives in it, along with any Secrets you created yourself (tayga-auth, tayga-notifier-config):
kubectl delete namespace taygamake downStops and removes the demo and Tayga containers (and Grafana and Prometheus, if make up-extras started them). The volumes stay. Deleting them deletes the demo’s data as well as Tayga’s; to do it, run the Makefile’s Compose command with down -v.
External ClickHouse and Kafka
Section titled “External ClickHouse and Kafka”With external backends, uninstalling Tayga leaves its data in them. Tayga created these, and you can drop them when you no longer need them:
-
Kafka topics:
tayga.signals,tayga.logs,tayga.stories,tayga.alerts(or the names set in[kafka]), and the consumer groupstayga-writer,tayga-assembler,tayga-logminerandtayga-notifier. -
ClickHouse: the database
tayga(or thedatabasevalue), with every table in it:DROP DATABASE tayga;
