-
Notifications
You must be signed in to change notification settings - Fork 44
/
core.yaml.sample
81 lines (69 loc) · 4.01 KB
/
core.yaml.sample
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
log_level: "DEBUG" # required, default INFO
bind: ":5001" # required, default 5001
lock_timeout: 30s # required, default 30s
global_timeout: 300s # required, default 300s
connection_timeout: 10s # required, default 10s
ha_keepalive_interval: 16s # required, default 16s
statsd: "127.0.0.1:8125" # optional
profile: ":12346" # optional
cert_path: "/etc/eru/tls" # optional, if you need connect to daemon without https
max_concurrency: 100000 # optional, default 100000 for pool size
store: etcd # optional, default etcd can choose redis
sentry_dsn: "https://[email protected]/0" # optional
probe_target: "8.8.8.8:80" # optional
wal_file: core.wal # required, default core.wal
wal_open_timeout: 8s # required, default 8s
auth: # optional
username: admin
password: password
grpc: # required
max_concurrent_streams: 100 # default 100
max_recv_msg_size: 20971520 # in MBytes # default 20971520
service_discovery_interval: 5s # WatchServiceStatus push interval # default 15s
service_heartbeat_interval: 5s # RegisterService heartbeat # default 15s
git: # optional
scm_type: "github"
private_key: "***REMOVED***" # file path
token: "***REMOVED***"
clone_timeout: 300s
etcd:
machines: # required
- "http://127.0.0.1:2379"
prefix: "/eru" # required, default /eru
lock_prefix: "__lock__/eru" # required, default __lock__/eru
ca: PATH_TO_CA
key: PATH_TO_KEY
cert: PATH_TO_CERT
auth:
username: root
password: root
redis: # optional
addr: localhost:6379
lock_prefix: "/lock" # default /lock
db: 0
docker:
version: "1.32" # required, default 1.32
network_mode: "bridge" # required, default host
use_local_dns: true
log:
type: "json-file" # required, default journald
config:
"max-size": "10m"
hub: "hub.docker.com"
namespace: "projecteru2"
build_pod: "eru-test"
auth:
username: root
password: root
virt:
version: "v1"
systemd:
runtime: "io.containerd.eru.v2"
scheduler:
maxshare: -1 # required default -1
sharebase: 100 # required default 100
max_deploy_count: 10000
resource_plugin:
dir: /etc/eru/plugins # optional, default empty, if not set, plugin will not enable
call_timeout: 30s # optional, if need to use plugin, set it
whitelist: # optional, if need plugins whitelist