-
Notifications
You must be signed in to change notification settings - Fork 9
/
kibana-prometheus-exporter.yaml
56 lines (56 loc) · 1.4 KB
/
kibana-prometheus-exporter.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kibana-prometheus-exporter
namespace: default
labels:
app: kibana-prometheus-exporter
spec:
selector:
matchLabels:
app: kibana-prometheus-exporter
template:
metadata:
labels:
app: kibana-prometheus-exporter
spec:
terminationGracePeriodSeconds: 30
containers:
- name: kibana-prometheus-exporter
image: chamilad/kibana-prometheus-exporter:v8.5.x.1
args: ["-kibana.uri", "http://kibana:5601"]
securityContext:
privileged: false
allowPrivilegeEscalation: false
capabilities:
drop:
- SETPCAP
- MKNOD
- AUDIT_WRITE
- CHOWN
- NET_RAW
- DAC_OVERRIDE
- FOWNER
- FSETID
- KILL
- SETGID
- SETUID
- NET_BIND_SERVICE
- SYS_CHROOT
- SETFCAP
resources:
limits:
memory: 100Mi
cpu: 100m
requests:
cpu: 10m
memory: 50Mi
ports:
- containerPort: 9684
livenessProbe:
httpGet:
path: /healthz
port: 9684
initialDelaySeconds: 10
periodSeconds: 10