1
1
config_version = 2
2
- name = " famous_condor"
3
- mode = " single"
4
- status = " null"
2
+ name = " famous_condor"
3
+ mode = " single"
4
+ status = " null"
5
5
6
6
dataplaneapi {
7
- scheme = [" http" ]
8
- cleanup_timeout = " 10s"
7
+ scheme = [" http" ]
8
+ cleanup_timeout = " 10s"
9
9
graceful_timeout = " 15s"
10
- max_header_size = " 1MiB"
11
- socket_path = " /var/run/data-plane.sock"
12
- host = " localhost"
13
- port = 80
14
- listen_limit = 1024
15
- keep_alive = " 3m"
16
- read_timeout = " 30s"
17
- write_timeout = " 60s"
10
+ max_header_size = " 1MiB"
11
+ socket_path = " /var/run/data-plane.sock"
12
+ host = " localhost"
13
+ port = 80
14
+ listen_limit = 1024
15
+ keep_alive = " 3m"
16
+ read_timeout = " 30s"
17
+ write_timeout = " 60s"
18
18
show_system_info = false
19
- disable_inotify = false
20
- pid_file = " /tmp/dataplane.pid"
21
- uid = 1000
22
- gid = 1000
19
+ disable_inotify = false
20
+ pid_file = " /tmp/dataplane.pid"
21
+ uid = 1000
22
+ gid = 1000
23
23
24
24
tls {
25
- tls_host = " null"
26
- tls_port = 6443
27
- tls_certificate = " null"
28
- tls_key = " null"
29
- tls_ca = " null"
30
- tls_listen_limit = 10
31
- tls_keep_alive = " 1m"
32
- tls_read_timeout = " 10s"
25
+ tls_host = " null"
26
+ tls_port = 6443
27
+ tls_certificate = " null"
28
+ tls_key = " null"
29
+ tls_ca = " null"
30
+ tls_listen_limit = 10
31
+ tls_keep_alive = " 1m"
32
+ tls_read_timeout = " 10s"
33
33
tls_write_timeout = " 10s"
34
34
}
35
35
@@ -39,88 +39,88 @@ dataplaneapi {
39
39
}
40
40
41
41
userlist {
42
- userlist = " controller"
42
+ userlist = " controller"
43
43
userlist_file = " null"
44
44
}
45
45
46
46
transaction {
47
- transaction_dir = " /tmp/haproxy"
48
- backups_number = 0
49
- backups_dir = " /tmp/backups"
47
+ transaction_dir = " /tmp/haproxy"
48
+ backups_number = 0
49
+ backups_dir = " /tmp/backups"
50
50
max_open_transactions = 20
51
51
}
52
52
53
53
resources {
54
- maps_dir = " /etc/haproxy/maps"
55
- ssl_certs_dir = " /etc/haproxy/ssl"
56
- update_map_files = false
54
+ maps_dir = " /etc/haproxy/maps"
55
+ ssl_certs_dir = " /etc/haproxy/ssl"
56
+ update_map_files = false
57
57
update_map_files_period = 10
58
- spoe_dir = " /etc/haproxy/spoe"
59
- spoe_transaction_dir = " /tmp/spoe-haproxy"
58
+ spoe_dir = " /etc/haproxy/spoe"
59
+ spoe_transaction_dir = " /tmp/spoe-haproxy"
60
60
}
61
61
62
62
advertised {
63
63
api_address = " 10.2.3.4"
64
- api_port = 80
64
+ api_port = 80
65
65
}
66
66
}
67
67
68
68
haproxy {
69
- config_file = " /etc/haproxy/haproxy.cfg"
70
- haproxy_bin = " haproxy"
71
- master_runtime = " null"
72
- fid = " null"
69
+ config_file = " /etc/haproxy/haproxy.cfg"
70
+ haproxy_bin = " haproxy"
71
+ master_runtime = " null"
72
+ fid = " null"
73
73
master_worker_mode = false
74
74
75
75
reload {
76
- reload_delay = 5
77
- reload_cmd = " systemctl reload haproxy"
78
- restart_cmd = " systemctl restart haproxy"
79
- status_cmd = " systemctl status haproxy"
76
+ reload_delay = 5
77
+ reload_cmd = " systemctl reload haproxy"
78
+ restart_cmd = " systemctl restart haproxy"
79
+ status_cmd = " systemctl status haproxy"
80
80
reload_retention = 1
81
- validate_cmd = " null"
81
+ validate_cmd = " null"
82
82
}
83
83
}
84
84
85
85
cluster {
86
- cluster_tls_dir = " null"
87
- id = " null"
88
- bootstrap_key = " null"
86
+ cluster_tls_dir = " null"
87
+ id = " null"
88
+ bootstrap_key = " null"
89
89
active_bootstrap_key = " null"
90
- token = " null"
91
- url = " null"
92
- port = 80
93
- api_base_path = " null"
94
- api_nodes_path = " null"
95
- api_register_path = " null"
96
- storage_dir = " null"
97
- cert_path = " null"
98
- cert_fetched = false
99
- name = " null"
100
- description = " null"
90
+ token = " null"
91
+ url = " null"
92
+ port = 80
93
+ api_base_path = " null"
94
+ api_nodes_path = " null"
95
+ api_register_path = " null"
96
+ storage_dir = " null"
97
+ cert_path = " null"
98
+ cert_fetched = false
99
+ name = " null"
100
+ description = " null"
101
101
}
102
102
103
103
service_discovery {
104
- consuls = []
104
+ consuls = []
105
105
aws_regions = []
106
106
}
107
107
108
108
log_targets = [
109
109
{
110
- log_to = " stdout"
111
- log_level = " debug"
112
- log_format = " json"
110
+ log_to = " stdout"
111
+ log_level = " debug"
112
+ log_format = " json"
113
113
log_types = [
114
114
" access" ,
115
115
" app" ,
116
116
]
117
117
},
118
118
{
119
- log_to = " file"
120
- log_file = " /var/log/dataplanepi.log"
121
- log_level = " info"
122
- log_format = " text"
123
- log_types = [" app" ]
119
+ log_to = " file"
120
+ log_file = " /var/log/dataplanepi.log"
121
+ log_level = " info"
122
+ log_format = " text"
123
+ log_types = [" app" ]
124
124
},
125
125
{
126
126
log_to = " syslog"
@@ -136,17 +136,17 @@ log_targets = [
136
136
137
137
# Deprecated: use log_targets instead
138
138
log {
139
- log_to = " stdout"
140
- log_file = " /var/log/dataplaneapi/dataplaneapi.log"
141
- log_level = " warning"
142
- log_format = " text"
139
+ log_to = " stdout"
140
+ log_file = " /var/log/dataplaneapi/dataplaneapi.log"
141
+ log_level = " warning"
142
+ log_format = " text"
143
143
apache_common_log_format = " %h"
144
144
145
145
syslog {
146
- syslog_address = " null"
146
+ syslog_address = " null"
147
147
syslog_protocol = " tcp"
148
- syslog_tag = " dataplaneapi"
149
- syslog_level = " debug"
148
+ syslog_tag = " dataplaneapi"
149
+ syslog_level = " debug"
150
150
syslog_facility = " local0"
151
151
}
152
152
}
0 commit comments