Files
containers/.vib/clickhouse-keeper/goss/clickhouse-keeper.yaml
2025-04-08 07:11:11 +00:00

34 lines
1.0 KiB
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
command:
# Force the exit-status as the timeout's original return varies between 0 and 143.
check-clickhouse-keeper:
exec: timeout --preserve-status 5 clickhouse-keeper 2>&1 || true
exit-status: 0
stdout:
- "Ready for connections"
file:
/opt/bitnami/clickhouse-keeper/logs/clickhouse-keeper.log:
exists: true
filetype: symlink
linked-to: /dev/stdout
/opt/bitnami/clickhouse-keeper/logs/clickhouse-keeper.err.log:
exists: true
filetype: symlink
linked-to: /dev/stderr
/opt/bitnami/clickhouse-keeper/etc.default/keeper_config.xml:
exists: true
filetype: file
contents:
- /log_storage_path.*\/bitnami\/clickhouse-keeper\/coordination\/logs/
- /snapshot_storage_path.*\/bitnami\/clickhouse-keeper\/coordination\/snapshots/
- /tcp_port.*from_env.*CLICKHOUSE_KEEPER_TCP_PORT/
- "<console>1</console>"
group:
clickhouse:
exists: true
user:
clickhouse:
exists: true