-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yml
252 lines (242 loc) · 6.15 KB
/
helmfile.yml
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
repositories:
- name: bitnami
url: https://charts.bitnami.com/bitnami
- name: fluent
url: https://fluent.github.io/helm-charts
- name: elastic
url: https://helm.elastic.co
helmDefaults:
verify: false
wait: true
historyMax: 10
createNamespace: true
atomic: true
timeout: 600
releases:
- name: aws-ebs-csi
namespace: aws-ebs-csi
labels:
isDriver: true
app: aws-ebs-csi
chart: https://github.com/Amos-85/aws-ebs-csi-driver/releases/download/v0.6.0/aws-ebs-csi-driver-0.6.0.tgz
# chart: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/releases/download/v0.5.0/helm-chart.tgz
version: v0.6.0
values:
- "charts/aws-ebs-csi/values.yaml"
hooks:
- events: ["prepare"]
showlogs: true
command: "kubectl"
args: [
"apply",
"--filename=charts/aws-ebs-csi/storageClass.yaml",
"--filename=charts/aws-ebs-csi/snapshotClass.yml",
"--filename=https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml",
"--filename=https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml",
"--filename=https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml"
]
- events: ["preuninstall"]
showlogs: true
command: "kubectl"
args: ["delete", "--filename=charts/aws-ebs-csi/storageClass.yaml"]
- name: github-scrapper
namespace: github-scrapper
labels:
app: github-scrapper
chart: charts/github-scrapper
values:
- "charts/github-scrapper/values.yaml"
- env:
- name: DB_URI
value: "mongodb://mongodb.mongodb.svc.cluster.local:27017/github"
- name: GITHUB_SEARCH_USERS
value: ""
needs:
- mongodb/mongodb
- aws-ebs-csi/aws-ebs-csi
- name: mongodb
namespace: mongodb
labels:
app: mongodb
chart: bitnami/mongodb
version: 8.2.*
values:
- "charts/mongodb/values.yaml"
needs:
- aws-ebs-csi/aws-ebs-csi
hooks:
- events: ["postsync"]
showlogs: true
command: "kubectl"
args: ["apply","-n", "{{`{{.Release.Namespace}}`}}","--filename=charts/mongodb/snapshot-data.yml"]
- events: ["preuninstall"]
showlogs: true
command: "kubectl"
args: ["apply", "-n","{{`{{.Release.Namespace}}`}}","--filename=charts/mongodb/snapshot-data.yml"]
- name: fluent-bit
namespace: fluent-bit
labels:
app: fluentbit
chart: fluent/fluent-bit
values:
- resources:
requests:
cpu: 400m
memory: 300Mi
limits:
cpu: 400m
memory: 500Mi
- extraVolumeMounts:
- name: lua-filter
mountPath: /fluent-bit/etc/functions.lua
subPath: functions.lua
- extraVolumes:
- name: lua-filter
configMap:
name: lua-filter
- config:
filters: |-
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log Off
K8S-Logging.Parser On
K8S-Logging.Exclude Off
[FILTER]
Name lua
Match kube.*
script /fluent-bit/etc/functions.lua
call dedot
- config:
outputs: |-
[OUTPUT]
Name es
Match kube.*
Host elasticsearch-ingest.elasticsearch.svc.cluster.local
Logstash_Format On
Retry_Limit False
Replace_Dots True
[OUTPUT]
Name es
Match host.*
Host elasticsearch-ingest.elasticsearch.svc.cluster.local
Logstash_Format On
Logstash_Prefix node
Retry_Limit False
Replace_Dots On
needs:
- elasticsearch/elasticsearch-ingest
- elasticsearch/elasticsearch-master
- elasticsearch/elasticsearch-data
- name: elasticsearch-ingest
namespace: elasticsearch
labels:
app: elasticsearch
esRole: ingest
chart: elastic/elasticsearch
values:
- imageTag: 7.8.0
- nodeGroup: "ingest"
- replicas: 2
- minimumMasterNodes: 1
- roles:
master: "false"
ingest: "true"
data: "false"
- esMajorVersion: 7
- esJavaOpts: "-Xmx2g -Xms2g"
- resources:
requests:
cpu: "600m"
memory: "2Gi"
limits:
cpu: "1000m"
memory: "3Gi"
- persistence:
enabled: false
needs:
- elasticsearch/elasticsearch-master
- name: elasticsearch-master
namespace: elasticsearch
labels:
app: elasticsearch
esRole: master
chart: elastic/elasticsearch
values:
- imageTag: 7.8.0
- nodeGroup: "master"
- replicas: 1
- roles:
master: "true"
ingest: "false"
data: "false"
- esMajorVersion: 7
- resources:
requests:
cpu: "300m"
memory: "1Gi"
limits:
cpu: "300m"
memory: "2Gi"
- volumeClaimTemplate:
accessModes: [ "ReadWriteOnce" ]
storageClassName: aws-ebs-csi
resources:
requests:
storage: 30Gi
needs:
- aws-ebs-csi/aws-ebs-csi
- name: elasticsearch-data
namespace: elasticsearch
labels:
app: elasticsearch
esRole: data
chart: elastic/elasticsearch
values:
- imageTag: 7.8.0
- nodeGroup: "data"
- replicas: 1
- roles:
master: "false"
ingest: "false"
data: "true"
- esMajorVersion: 7
- resources:
requests:
cpu: "500m"
memory: "1Gi"
limits:
cpu: "500m"
memory: "2Gi"
- volumeClaimTemplate:
accessModes: [ "ReadWriteOnce" ]
storageClassName: aws-ebs-csi
resources:
requests:
storage: 50Gi
needs:
- aws-ebs-csi/aws-ebs-csi
- name: kibana
namespace: kibana
labels:
app: kibana
chart: elastic/kibana
version: 7.8.1
values:
- imageTag: 7.8.1
- elasticsearchHosts: "http://elasticsearch-ingest.elasticsearch.svc.cluster.local:9200"
- resources:
requests:
cpu: "1000m"
memory: "1Gi"
limits:
cpu: "1000m"
memory: "2Gi"
- extraEnvs:
- name: MONITORING_ENABLED
value: "false"
needs:
- elasticsearch/elasticsearch-ingest
- elasticsearch/elasticsearch-master
- elasticsearch/elasticsearch-data