-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
184 lines (175 loc) · 4.47 KB
/
values.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml
prometheus:
enabled: true
fullnameOverride: prometheus
alertmanager:
fullnameOverride: prometheus-alertmanager
kubeStateMetrics:
enabled: true
kube-state-metrics:
fullnameOverride: kube-state-metrics
nodeExporter:
fullnameOverride: prometheus-node-exporter
pushgateway:
fullnameOverride: prometheus-pushgateway
enabled: false
server:
fullnameOverride: prometheus
service:
type: LoadBalancer
# https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml
grafana:
enabled: true
fullnameOverride: grafana
adminUser: admin
adminPassword: istio
dashboards:
default:
kubernetes-cluster:
gnetId: 7249
revision: 1
datasource: Prometheus
node-exporter:
gnetId: 1860
revision: 23
datasource: Prometheus
kubernetes-cluster-monitoring-prometheus:
gnetId: 1621
datasource: Prometheus
prometheus-stats:
gnetId: 2
revision: 2
datasource: Prometheus
istio-mesh:
gnetId: 7639
revision: 92
datasource: Prometheus
istio-service:
gnetId: 7636
revision: 92
datasource: Prometheus
istio-workload:
gnetId: 7630
revision: 92
datasource: Prometheus
istio-performance:
gnetId: 11829
revision: 92
datasource: Prometheus
istio-controlplane:
gnetId: 7645
revision: 92
datasource: Prometheus
istio-loki:
gnetId: 14876
revision: 2
datasource: Loki
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: default
orgId: 1
folder: ""
type: file
disableDeletion: false
editable: false
options:
path: /var/lib/grafana/dashboards/default
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Loki
type: loki
url: http://loki:3100
access: proxy
orgId: 1
uid: loki
jsonData:
derivedFields:
- datasourceName: Tempo
matcherRegex: '"trace_id":"(\w+)"'
name: TraceID
url: "$${__value.raw}"
datasourceUid: tempo
isDefault: false
- name: Prometheus
type: prometheus
url: http://prometheus:80
access: proxy
orgId: 1
uid: prometheus
isDefault: true
- name: Tempo
type: tempo
url: http://tempo:3100
access: proxy
orgId: 1
uid: tempo
isDefault: false
persistence:
enabled: true
service:
type: LoadBalancer
# https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml
loki:
enabled: true
fullnameOverride: loki
persistence:
enabled: true
service:
type: LoadBalancer
# https://github.com/grafana/helm-charts/blob/main/charts/tempo/values.yaml
tempo:
enabled: true
fullnameOverride: tempo
persistence:
enabled: true
tempo:
extraArgs:
"distributor.log-received-traces": true
receivers:
zipkin:
otlp:
protocols:
http:
grpc:
# https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit/values.yaml
fluent-bit:
enabled: true
fullnameOverride: fluent-bit
logLevel: trace
config:
service: |
[SERVICE]
Flush 1
Daemon Off
Log_Level trace
Parsers_File custom_parsers.conf
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 2020
inputs: |
[INPUT]
Name tail
Path /var/log/containers/*istio-proxy*.log
Parser istio-proxy
Tag kube.*
Mem_Buf_Limit 5MB
outputs: |
[OUTPUT]
name loki
match *
host loki
port 3100
tenant_id ""
labels job=fluentbit
label_keys $trace_id
auto_kubernetes_labels on
customParsers: |
[PARSER]
Name istio-proxy
Format json
Time_Key start_time
Time_Format %Y-%m-%dT%H:%M:%S.%L%z