Skip to content

K8s cron job with bash scripts vs tool commands #846

Closed Answered by Slach
marrrcin asked this question in Q&A
Discussion options

You must be logged in to vote

In kubernetes we use clickhouse-operator which deploy clickhouse-backup as container inside the Pod where already present clickhouse-server and execute clickhouse-backup server in REST API mode, which create engine=url() tables inside clickhouse-server

CronJob executes outside Pods with clickhouse-server + clickhouse-backup, and execute the same command via SQL queries

So I would like to recommend use clickhouse-backup cli interface for stanalone installations

And clickhouse-backup REST API for containerized installations

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Slach
Comment options

@marrrcin
Comment options

Answer selected by Slach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants