-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathaggregator-all-values.yaml
130 lines (117 loc) · 2.64 KB
/
aggregator-all-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
# Aggregator role
## Values file for testing all Aggregator parameters.
podSecurityContext:
fsGroup: 2000
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
workloadResourceAnnotations:
kubernetes.io/description: "Vector aggregator deployment."
configmap.reloader.stakater.com/reload: additional-configmap
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 200m
memory: 256Mi
updateStrategy:
type: OnDelete
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/e2e-az-name
operator: In
values:
- e2e-az1
- e2e-az2
topologySpreadConstraints:
- labelSelector:
matchLabels:
app.kubernetes.io/name: vector
app.kubernetes.io/instance: vector
app.kubernetes.io/component: Aggregator
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway
customConfig:
data_dir: /data
api:
enabled: true
address: 0.0.0.0:1212
healthchecks:
enabled: false
sources:
kafka:
type: kafka
acknowledgements: true
bootstrap_servers: kafka-bootstrap.svc.cluster.local:9092
group_id: vector-consumer
topics: [application-logs]
prom_remote:
type: prometheus_remote_write
address: 0.0.0.0:9999
transforms:
aggregate:
type: aggregate
inputs: [prom_remote]
interval_ms: 15000
remap:
type: remap
inputs: [kafka]
drop_on_error: true
source: |
. |= object!(parse_json!(.message))
sample:
type: sample
inputs: [remap]
exclude: |
.status_code != 200 && !includes(["info", "debug"], .severity)
rate: 10
sinks:
s3_archive:
type: aws_s3
inputs: [remap]
bucket: logs-archive
key_prefix: date=%F/
compression: gzip
encoding:
codec: json
region: us-east-1
elasticsearch:
type: elasticsearch
inputs: [aggregate, sample]
endpoint: http://elasticsearch.svc.cluster.local:9000
index: vector-%F
mode: data_stream
compression: gzip
service:
enabled: true
persistence:
enabled: true
storageClassName: standard
accessModes:
- ReadWriteOnce
size: 50Gi
finalizers:
- kubernetes.io/pvc-protection
livenessProbe:
httpGet:
path: /health
port: api
readinessProbe:
httpGet:
path: /health
port: api