-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstf_resource.yaml
69 lines (69 loc) · 1.62 KB
/
stf_resource.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
apiVersion: infra.watch/v1beta1
kind: ServiceTelemetry
metadata:
name: default
namespace: ${namespace}
spec:
alerting:
alertmanager:
storage:
strategy: ephemeral
receivers:
snmpTraps:
enabled: true
backends:
events:
elasticsearch:
enabled: true
storage:
strategy: ephemeral
metrics:
prometheus:
enabled: true
storage:
strategy: ephemeral
transports:
qdr:
enabled: true
deploymentSize: 1
web:
enabled: false
elasticsearchManifest: |
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elasticsearch
namespace: $namespace
spec:
version: 7.10.2
volumeClaimDeletePolicy: DeleteOnScaledownAndClusterDeletion
http:
tls:
certificate:
secretName: 'elasticsearch-es-cert'
nodeSets:
- config:
node.roles:
- master
- data
- ingest
node.store.allow_mmap: true
count: 1
name: default
podTemplate:
metadata:
labels:
tuned.openshift.io/elasticsearch: elasticsearch
spec:
containers:
- name: elasticsearch
resources:
limits:
cpu: '2'
memory: 2Gi
requests:
cpu: '1'
memory: 1Gi
volumes:
- emptyDir: {}
name: elasticsearch-data