Scenario: "Solanea": ClickHouse mad house
Level: Medium
Type: Do
Tags: clickhouse kubernetes
Access: Email
Description: You have a ClickHouse installation CHI running on a Kubernetes cluster and a set of requests (located at ~/data/requests.csv) that you must populate into the http_requests table in the monitoring database (table may not exist in all pod instances).
Do this insert in all pod instances of the database.
The user and password to connect to the database are default.
The keeper pods provide clickhouse replication services.
Root (sudo) Access: True
Test: You are able to query the database and see the data:
clickhouse-client -h
The "Check My Solution" button runs the script /home/admin/agent/check.sh, which you can see and execute.
Time to Solve: 20 minutes.