-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathcontroller-configmap-mesh.yaml
87 lines (87 loc) · 2.82 KB
/
controller-configmap-mesh.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "polaris-controller.controller.fullname" . }}-mesh
namespace: polaris-system
data:
mesh: |-
logger:
default:
rotateOutputPath: logs/polaris-default.log
errorRotateOutputPath: logs/polaris-default-error.log
rotationMaxSize: 100
rotationMaxBackups: 10
rotationMaxAge: 7
outputLevel: info
outputPaths:
- stdout
errorOutputPaths:
- stderr
synccm:
rotateOutputPath: logs/polaris-synccm.log
errorRotateOutputPath: logs/polaris-synccm-error.log
rotationMaxSize: 100
rotationMaxBackups: 10
rotationMaxAge: 7
outputLevel: info
outputPaths:
- stdout
errorOutputPaths:
- stderr
syncnaming:
rotateOutputPath: logs/polaris-syncnaming.log
errorRotateOutputPath: logs/polaris-syncnaming-error.log
rotationMaxSize: 100
rotationMaxBackups: 10
rotationMaxAge: 7
outputLevel: info
outputPaths:
- stdout
errorOutputPaths:
- stderr
syncconfig:
rotateOutputPath: logs/polaris-syncconfig.log
errorRotateOutputPath: logs/polaris-syncconfig-error.log
rotationMaxSize: 100
rotationMaxBackups: 10
rotationMaxAge: 7
outputLevel: info
outputPaths:
- stdout
errorOutputPaths:
- stderr
inject:
rotateOutputPath: logs/polaris-inject.log
errorRotateOutputPath: logs/polaris-inject-error.log
rotationMaxSize: 100
rotationMaxBackups: 10
rotationMaxAge: 7
outputLevel: info
outputPaths:
- stdout
errorOutputPaths:
- stderr
# 北极星服务端地址
serverAddress: {{ .Values.polaris.server.address }}
# 北极星服务端token(北极星开启鉴权时需要配置)
accessToken: {{ .Values.polaris.server.token }}
# 北极星主账户ID
operator: {{ .Values.polaris.server.operator }}
# k8s cluster name
clusterName: "{{ .Values.cluster.name }}"
# polaris-sidecar 注入的默认启动模式, 可以配置 java-agent, mesh 或者 dns
sidecarInject:
mode: "{{ .Values.sidecar.mode }}"
# service sync
serviceSync:
mode: {{ .Values.polaris.sync.service.mode }}
configSync:
enable: {{ .Values.polaris.sync.config.enable }}
allowDelete: {{ .Values.polaris.sync.config.allowDelete }}
# 配置同步方向: kubernetesToPolaris|polarisToKubernetes|both
syncDirection: {{ .Values.polaris.sync.config.direction }}
defaultGroup: {{ .Values.polaris.sync.config.groupName }}
defaultConfig:
proxyMetadata:
serverAddress: {{ .Values.polaris.server.address }}
clusterName: "{{ .Values.cluster.name }}"