-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't backup clickhouse db which in kubernetes #47
Comments
Hello! |
Thank you, it's work. Perphap variable CLICKHOUSE_HOST are wrong define in container. |
By the way I also see that. I do not define that variable manually, so what should I do? |
OK I see the reason: It seems to be injected by kubernetes automatically along with many other variables. Thus defining it manually works. |
I try to make backup database, which work in docker container from official yandex image. This docker image runs in kubernetes cluster. I made separate pod with docker image alexakulov/clickhouse-backup and tried to make backup. And i had this error when i started this util:
2019/09/26 11:08:49 envconfig.Process: assigning CLICKHOUSE_CLICKHOUSE_PORT to Port: converting 'tcp://192.168.186.165:9000' to type uint. details: strconv.ParseUint: parsing "tcp://192.168.186.165:9000": invalid syntax
run this command:
clickhouse-backup create my_backup
The text was updated successfully, but these errors were encountered: