mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 07:18:06 +08:00
34 lines
1.0 KiB
YAML
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
|