-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkibana.yaml
54 lines (54 loc) · 1.11 KB
/
kibana.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
apiVersion: v1
kind: Service
metadata:
name: kibana
namespace: elk-stack
spec:
ports:
- name: http
protocol: TCP
port: 5601
targetPort: 5601
selector:
app: kibana
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kibana
namespace: elk-stack
spec:
replicas: 1
selector:
matchLabels:
app: kibana
template:
metadata:
labels:
app: kibana
spec:
volumes:
- name: kibana-config-volume
items:
- key: kibana.yml
path: kibana.yml
containers:
- name: waplpay-kibana
image: 'docker.elastic.co/kibana/kibana:7.15.2'
imagePullPolicy: IfNotPresent
ports:
- name: kibana
containerPort: 5601
protocol: TCP
resources:
limits:
cpu: '1'
memory: 2Gi
requests:
cpu: 500m
memory: 1Gi
volumeMounts:
- name: kibana-config-volume
mountPath: /usr/share/kibana/config
restartPolicy: Always