-
Notifications
You must be signed in to change notification settings - Fork 114
/
es-kibana.yaml
54 lines (54 loc) · 1.17 KB
/
es-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-logging
labels:
k8s-app: kibana-logging
kubernetes.io/name: "Kibana"
spec:
ports:
- port: 5601
protocol: TCP
targetPort: ui
selector:
k8s-app: kibana-logging
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kibana-logging-v2
labels:
k8s-app: kibana-logging
version: v2
spec:
template:
metadata:
labels:
k8s-app: kibana-logging
version: v2
spec:
containers:
- name: kibana-logging
image: kayrus/docker-kibana-kubernetes-sentinl:4.6.4
imagePullPolicy: Always
resources:
# keep request = limit to keep this container in guaranteed class
limits:
cpu: 100m
requests:
cpu: 100m
env:
- name: "ELASTICSEARCH_URL"
value: "http://elasticsearch-logging:9200"
ports:
- containerPort: 5601
name: ui
protocol: TCP
volumeMounts:
- name: kibana-config
mountPath: /etc/kibana
readOnly: true
volumes:
- name: kibana-config
configMap:
name: kibana-config