-
Notifications
You must be signed in to change notification settings - Fork 3
/
dfaasagent.env
50 lines (38 loc) · 1.35 KB
/
dfaasagent.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
AGENT_DEBUG=true
AGENT_LOG_DATETIME=true
AGENT_LOG_COLORS=true
AGENT_LISTEN="/ip4/0.0.0.0/tcp/0"
AGENT_PRIVATE_KEY_FILE=
AGENT_BOOTSTRAP_NODES=false
AGENT_PUBLIC_BOOTSTRAP_NODES=false
AGENT_BOOTSTRAP_NODES_LIST=
AGENT_BOOTSTRAP_NODES_FILE=
AGENT_BOOTSTRAP_FORCE=false
AGENT_RENDEZVOUS=dfaasagent
AGENT_MDNS_INTERVAL=1m
AGENT_KAD_IDLE_TIME=1m
AGENT_PUBSUB_TOPIC="/dfaasagent/1.0.0"
AGENT_RECALC_PERIOD=1m
AGENT_HAPROXY_TEMPLATE_FILE_NMS="/agent/haproxycfgnms.tmpl"
AGENT_HAPROXY_TEMPLATE_FILE_RECALC="/agent/haproxycfgrecalc.tmpl"
AGENT_HAPROXY_CONFIG_FILE="/etc/haproxy/haproxy.cfg"
AGENT_HAPROXY_CONFIG_UPDATE_COMMAND="/usr/bin/systemctl reload haproxy.service"
AGENT_HAPROXY_HOST=127.0.0.1
AGENT_HAPROXY_PORT=80
AGENT_HAPROXY_SOCK_PATH="unix:///run/haproxy/admin.sock"
AGENT_OPENFAAS_HOST=127.0.0.1
AGENT_OPENFAAS_PORT=8080
AGENT_OPENFAAS_USER=admin
AGENT_OPENFAAS_PASS=admin
AGENT_PROMETHEUS_HOST=127.0.0.1
AGENT_PROMETHEUS_PORT=9090
AGENT_HTTPSERVER_HOST=127.0.0.1
AGENT_HTTPSERVER_PORT=8008
AGENT_FORECASTER_HOST=127.0.0.1
AGENT_FORECASTER_PORT=8000
AGENT_STRATEGY="nodemarginstrategy"
AGENT_GROUP_LIST_FILE_NAME="/agent/group_list.json"
AGENT_NODE_TYPE=1 # heavy=0 mid=1 light=2
AGENT_NMS_CPU_THRESHOLD=120.0 # max cpu usage percentage
AGENT_NMS_RAM_THRESHOLD=5500000000.0 # max ram usage in bytes
AGENT_NMS_POWER_THRESHOLD=2100000.0 # max power usage in microwatts