mirror of https://gitee.com/anolis/sysom.git
36 lines
746 B
YAML
36 lines
746 B
YAML
vars:
|
|
SERVICE_NAME: &SERVICE_NAME sysom_cluster_health
|
|
SERVICE_CONSUMER_GROUP:
|
|
!concat &SERVICE_CONSUMER_GROUP [*SERVICE_NAME, "_consumer_group"]
|
|
|
|
sysom_server:
|
|
cec:
|
|
consumer_group: &SYSOM_CEC_CHANNEL_CONSUMER_GROUP
|
|
|
|
sysom_service:
|
|
service_name: *SERVICE_NAME
|
|
service_dir: *SERVICE_NAME
|
|
protocol: http
|
|
host: 127.0.0.1
|
|
bind: 127.0.0.1
|
|
port: 7020
|
|
framework:
|
|
gcache:
|
|
protocol: redis
|
|
node_dispatch:
|
|
cmg:
|
|
tags:
|
|
- cluster_health
|
|
- FastApi
|
|
# Metadata of service
|
|
metadata:
|
|
check:
|
|
type: http
|
|
url: "/api/v1/cluster_health/health/check"
|
|
interval: 10
|
|
timeout: 10
|
|
deregister: 25
|
|
header:
|
|
tls_skip_verify: false
|
|
|