Skip to content

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.

Terminal window
sh ~/tayga/install.sh --uninstall

Stops and removes the containers and the network. The data volumes (tayga_clickhouse-data, tayga_redpanda-data) and ~/tayga stay.

To delete the data too:

Terminal window
sh ~/tayga/install.sh --uninstall --purge

This 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.

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 groups tayga-writer, tayga-assembler, tayga-logminer and tayga-notifier.

  • ClickHouse: the database tayga (or the database value), with every table in it:

    DROP DATABASE tayga;