This repository was archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvalues.yaml
More file actions
624 lines (589 loc) · 15.3 KB
/
Copy pathvalues.yaml
File metadata and controls
624 lines (589 loc) · 15.3 KB
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
global:
name: aspecto
env: {}
aspecto:
environment: production
interval: 60
token:
secret:
existingSecretName:
createNewSecret: false
keyName: 'api-token'
value:
ignoreCpuLimits: false
hpaApiVersion: autoscaling/v2beta2
rolloutStrategy:
rollingUpdate:
maxUnavailable: 0
maxSurge: 3
type: RollingUpdate
collector_services:
- name: grpc
enabled: true
internalPort: 4317
externalPort: 4317
protocol: TCP
maxReceivedMessageSizeMiB: "4194304"
- name: http
enabled: true
internalPort: 4318
externalPort: 4318
protocol: TCP
- name: metricscol
# Default endpoint for querying metrics.
enabled: true
internalPort: 8888
externalPort: 8888
protocol: TCP
- name: health_check
# Default endpoint for querying open-telemetry health.
enabled: true
internalPort: 8090
externalPort: 8090
protocol: TCP
- name: metrics
enabled: true
internalPort: 9090
externalPort: 9090
protocol: TCP
endpoint: ''
- name: zipkin
enabled: true
internalPort: 9411
externalPort: 9411
protocol: TCP
- name: jaeger-grpc
enabled: true
internalPort: 14250
externalPort: 14250
protocol: TCP
- name: jaeger-http
enabled: true
internalPort: 14268
externalPort: 14268
protocol: TCP
- name: zpages
enabled: true
internalPort: 55679
externalPort: 55679
protocol: TCP
metadata:
shared:
annotations:
imageProvider: 'aspecto.io'
labels:
app: open-telemetry-collector
receiverVersion: "{{ .Values.receiver.image.version | default .Values.global.image.version }}"
collectorVersion: "{{ .Values.collector.image.version | default .Values.global.image.version }}"
chart/name: "{{ .Chart.Name }}"
chart/release: "{{ .Chart.Version }}"
pod:
annotations: {}
labels: {}
deployment:
annotations: {}
labels: {}
service:
annotations: {}
labels: {}
configMap:
annotations: {}
labels: {}
hpa:
annotations: {}
labels: {}
virtualService:
annotations: {}
labels: {}
destinationRule:
annotations: {}
labels: {}
gateway:
annotations: {}
labels: {}
secret:
annotations: {}
labels: {}
serviceMonitor:
annotations: {}
labels: {}
podMonitor:
annotations: {}
labels: {}
serviceAccount:
annotations: {}
labels: {}
image:
repository: 'public.ecr.aws/x3s3n8k7'
pullPolicy: Always
version: 'v0.69.1-rc3'
receiver:
image:
repository: ''
policy: IfNotPresent
name: 'otelcol-loadbalancing'
version: ''
metadata:
name: receiver
shared:
annotations: {}
labels: {}
pod:
annotations: {}
labels:
component: otel-receiver-pod
deployment:
annotations: {}
customConfig: {}
labels: {}
service:
annotations: {}
labels:
component: otel-receiver-service
configMap:
annotations: {}
labels: {}
hpa:
annotations: {}
labels: {}
virtualService:
annotations: {}
labels: {}
destinationRule:
annotations: {}
labels: {}
gateway:
annotations: {}
labels: {}
serviceMonitor:
annotations: {}
labels: {}
podMonitor:
annotations: {}
labels: {}
serviceAccount:
annotations: {}
labels: {}
envs: []
# - name: static-env
# value: value
# - name: "example for env name coming from secrets"
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: key-name
# Allows you to load environment variables from kubernetes secret or config map
envFrom: []
# - secretRef:
# name: env-secret
# - configMapRef:
# name: config-map
monitoring:
serviceMonitoring:
enable: true
promNamespace: monitoring
portName: metrics
podMonitoring:
enable: false
podMetricsEndpoints:
# - port: prometheus
serviceAccount:
enabled: false
config: {}
containerConfig: {}
specs:
custom_config: {}
configuration:
exporters:
load_balancing:
protocol:
otlp:
timeout: 1s
tls:
insecure: true
resolver:
dns:
hostname:
port: 4317
log:
enable: true
level: debug
endpoint: 'aspecto-testing-gateway'
autoscaling:
enable: true
defaultReplicaCount: 2
minReplicas: 2
maxReplicas: 20
targetCPUUtilizationPercentage: 75
targetMemoryUtilizationPercentage: 75
resources:
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: '0.5'
memory: 0.5Gi
probe:
readinessProbe:
httpGet:
path: /
port: 8090
initialDelaySeconds: 30
periodSeconds: 3
livenessProbe:
httpGet:
path: /
port: 8090
initialDelaySeconds: 30
periodSeconds: 30
volumes:
serviceConfig:
name: service-configuration
mountPath: /config
fileName: receiver-config.yml
extraVolumes: []
# - name: configMapName
# mountPath: /folder/path
# subPath: filename.ext
extraSecretMounts: []
# - name: secret-files
# mountPath: /path/to/file
# secretName: secret-key-name
# readOnly: true|false
network:
localListenerIp: 0.0.0.0
type: None
istio:
enabled: false
destinationRuleName: aspecto-otel-receiver-load-balancer-destinationRule
defaultHostHeader: aspecto-otel-receiver-load-balancer.io
subnetName: receiver
ruleTrafficPolicy:
loadBalancer:
simple: ROUND_ROBIN
subnetTrafficPolicy:
connectionPool:
tcp:
connectTimeout: 30ms
maxConnections: 100
tcpKeepalive:
interval: 75s
time: 7200s
uriPrefix: "/"
hostHeader:
rules:
- name: 'grpc'
ingress:
- uriPrefix: "/"
destinationPort: 4317
hostHeader:
- name: 'http'
ingress:
- uriPrefix: "/"
destinationPort: 4318
hostHeader:
- name: 'health-check'
ingress:
- uriPrefix: "/"
destinationPort: 8090
hostHeader:
- name: 'metrics'
ingress:
- uriPrefix: "/"
destinationPort: 8888
hostHeader:
- name: 'zipkin'
ingress:
- uriPrefix: "/"
destinationPort: 9411
hostHeader:
- name: 'jaeger-grpc'
ingress:
- uriPrefix: "/"
destinationPort: 14250
hostHeader:
- name: 'jaeger-http'
ingress:
- uriPrefix: "/"
destinationPort: 14268
hostHeader:
service:
name: load-balancer
# Currently, we support 3 service types (ClusterIP, LoadBalancer)
# Internal - An internal service is a service that would only be accessed from inside the Kubernetes cluster.
# It will receive an internal IP address that other Kubernetes services could access to consume the service from.
#
# ClusterIP - This will create a simple service that would supply DNS round-robin load balancing for the service.
# This will give external cluster access by a dedicated DNS address: <serviceName>.<namespace>.svc.kube.<cluster>.com
# This option is for when you need the most basic and simple load balancing.
#
# LoadBalancer - This is for when you need complex load balancing options. Based on user headers or specific uri prefixes.
# This is also the only option that would utilize Istio (https://istio.io/).
serviceType: LoadBalancer
loadBalancer:
simple: LEAST_CONN
host: aspecto-otel-receiver-load-balancer.io
selector:
component: otel-receiver-pod
ports:
extraPorts: []
# example
# - name: http
# type: http
# externalPort: 4318
# internalPort: 4318
# protocol: TCP
extraConfigPerPort: {}
# loadBalancer:
# - simple:
collector:
image:
repository: ''
policy: Always
name: 'otelcol-sampling'
version: ''
metadata:
name: collector
shared:
annotations: {}
labels: {}
pod:
annotations: {}
labels:
component: otel-collector
deployment:
annotations: {}
customConfig: {}
labels: {}
service:
annotations: {}
labels:
component: otel-collector-service
configMap:
annotations: {}
labels: {}
hpa:
annotations: {}
labels: {}
virtualService:
annotations: {}
labels: {}
destinationRule:
annotations: {}
labels: {}
gateway:
annotations: {}
labels: {}
serviceMonitor:
annotations: {}
labels: {}
podMonitor:
annotations: {}
labels: {}
serviceAccount:
annotations: {}
labels: {}
envs: []
# - name: "example for env name coming from secrets"
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: key-name
# Allows you to load environment variables from kubernetes secret or config map
envFrom: []
# - secretRef:
# name: env-secret
# - configMapRef:
# name: config-map
monitoring:
serviceMonitoring:
enable: true
promNamespace: monitoring
portName: metrics
podMonitoring:
enable: false
podMetricsEndpoints:
# - port: prometheus
serviceAccount:
enabled: false
config: {}
containerConfig: {}
specs:
custom_config: {}
jeager_collector: true
zipkin_collector: false
configuration:
collector_endpoint: https://collector.aspecto.io:4317
metrics_endpoint: https://metrics.aspecto.io:4317
sending_queue: true
queue_size: 10000
num_consumers: 20
decision_wait: 10s
num_traces: 100
expected_new_traces_per_sec: 10
policies: $$aspecto:tail_sampling_policy
log:
enable: true
level: debug
autoscaling:
enable: true
defaultReplicaCount: 2
minReplicas: 2
maxReplicas: 20
targetCPUUtilizationPercentage: 75
targetMemoryUtilizationPercentage: 75
resources:
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: '0.5'
memory: 0.5Gi
probe:
readinessProbe:
httpGet:
path: /
port: 8090
initialDelaySeconds: 10
periodSeconds: 3
livenessProbe:
httpGet:
path: /
port: 8090
initialDelaySeconds: 10
periodSeconds: 30
volumes:
serviceConfig:
name: service-configuration
mountPath: /config
fileName: collector-config.yml
extraVolumes: []
# - name: configMapName
# mountPath: /folder/path
# subPath: filename.ext
extraSecretMounts: []
# - name: secret-files
# mountPath: /path/to/file
# secretName: secret-key-name
# readOnly: true|false
network:
localListenerIp: 0.0.0.0
type: LoadBalancer
serviceName: open-telemetry-sampling
istio:
enabled: false
destinationRuleName: aspecto-otel-collector-tail-sampling-destinationRule
defaultHostHeader: aspecto-otel-receiver-load-balancer.io
subnetName: collector
ruleTrafficPolicy:
loadBalancer:
simple: ROUND_ROBIN
subnetTrafficPolicy:
connectionPool:
tcp:
maxConnections: 100
connectTimeout: 30ms
tcpKeepalive:
time: 7200s
interval: 75s
rules:
- name: 'grpc'
ingress:
- uriPrefix: "/"
destinationPort: 4317
hostHeader:
- name: 'http'
ingress:
- uriPrefix: "/"
destinationPort: 4318
hostHeader:
- name: 'health-check'
ingress:
- uriPrefix: "/"
destinationPort: 8090
hostHeader:
- name: 'metrics'
ingress:
- uriPrefix: "/"
destinationPort: 8888
hostHeader:
- name: 'zipkin'
ingress:
- uriPrefix: "/"
destinationPort: 9411
hostHeader:
- name: 'jaeger-grpc'
ingress:
- uriPrefix: "/"
destinationPort: 14250
hostHeader:
- name: 'jaeger-http'
ingress:
- uriPrefix: "/"
destinationPort: 14268
hostHeader:
service:
name: tail-sampling
# Currently, we support 2 service types (ClusterIP, LoadBalancer)
# Internal - An internal service is a service that would only be accessed from inside the Kubernetes cluster.
# It will receive an internal IP address that other Kubernetes services could access to consume the service from.
#
# ClusterIP - This will create a simple service that would supply DNS round-robin load balancing for the service.
# This will give external cluster access by a dedicated DNS address: <serviceName>.<namespace>.svc.kube.<cluster>.com
# This option is for when you need the most basic and simple load balancing.
#
# LoadBalancer - This is for when you need complex load balancing options. Based on user headers or specific uri prefixes.
# This is also the only option that would utilize Istio (https://istio.io/).
serviceType: ClusterIP
loadBalancer:
simple: LEAST_CONN
host: aspecto-otel-collector-load-balancer.io
selector:
component: otel-collector
ports:
extraPorts: []
# example
# - name: http
# type: http
# externalPort: 4318
# internalPort: 4318
# protocol: TCP
extraConfigPerPort: {}
# loadBalancer:
# - simple:
redis:
enabled: false
config:
# Can be local or external
# local - create a redis deployment as part of this chart
# external - connect to an external redis - you must provide an endpoint for this to work
type: local
endpoint: ''
ttlMinutes: 5
credentials:
# In case we want to bring the credentials from some secret
secret:
name: ''
username_key: ''
password_key: ''
# In case we want to user hardcoded user/pass
username: ''
password: ''
##### Only relevant when using type: local
metadata:
labels: {}
annotations: {}
specs:
replicas: 1
image:
policy: Always
name: 'redis'
version: '6.0.8'
port: '6379'
resources:
limits:
cpu: '1'
memory: 2Gi
requests:
cpu: '0.5'
memory: 2Gi