-
Notifications
You must be signed in to change notification settings - Fork 20
/
polaris-sidecar.yaml
57 lines (57 loc) · 1.17 KB
/
polaris-sidecar.yaml
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
logger:
output_paths:
- stdout
error_output_paths:
- stderr
rotate_output_path: logs/polaris-sidecar.log
error_rotate_output_path: logs/polaris-sidecar-error.log
rotation_max_size: 100
rotation_max_backups: 10
rotation_max_age: 7
output_level: info
debugger:
enable: false
port: 30000
polaris:
addresses:
- ${POLARIS_ADDRESS}
# 地址提供插件,用于获取当前SDK所在的地域信息
location:
providers:
- type: local
region: ${REGION}
zone: ${ZONE}
campus: ${CAMPUS}
# - type: remoteHttp
# region: http://127.0.0.1/region
# zone: http://127.0.0.1/zone
# campus: http://127.0.0.1/campus
bind: 0.0.0.0
port: 53
namespace: default
recurse:
enable: false
timeoutSec: 1
mtls:
enable: false
metrics:
enable: true
type: pull
metricPort: 0
ratelimit:
enable: true
network: unix
resolvers:
- name: dnsagent
dns_ttl: 10
enable: true
suffix: "."
# option:
# route_labels: "key:value,key:value"
- name: meshproxy
dns_ttl: 120
enable: false
option:
reload_interval_sec: 30
dns_answer_ip: 10.4.4.4
recursion_available: true