-
Notifications
You must be signed in to change notification settings - Fork 4
/
02_elastiflow-kibana-deployment.yaml
69 lines (69 loc) · 1.45 KB
/
02_elastiflow-kibana-deployment.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: apps/v1
kind: Deployment
metadata:
name: elastiflow-kibana
spec:
# replicas: 1
selector:
matchLabels:
app: elastiflow-kibana
template:
metadata:
labels:
app: elastiflow-kibana
name: elastiflow-kibana
spec:
containers:
- name: kibana
image: docker.elastic.co/kibana/kibana-oss:7.5.0
ports:
- name: kibana-http
containerPort: 5601
env:
- name: ELASTICSEARCH_HOSTS
value: http://elastiflow-es:9200
- name: KIBANA_DEFAULTAPPID
value: dashboard/653cf1e0-2fd2-11e7-99ed-49759aed30f5
- name: LOGGING_DEST
value: stdout
- name: LOGGING_QUIET
value: "false"
- name: SERVER_HOST
value: 0.0.0.0
- name: SERVER_MAXPAYLOADBYTES
value: "4194304"
- name: SERVER_PORT
value: "5601"
---
apiVersion: v1
kind: Service
metadata:
labels:
app: elastiflow-kibana
name: elastiflow-kibana
spec:
ports:
- port: 5601
protocol: TCP
targetPort: kibana-http
selector:
app: elastiflow-kibana
sessionAffinity: None
type: ClusterIP
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
labels:
app: elastiflow-kibana
name: elastiflow-kibana
spec:
# host: elastiflow-kibana-netflow.apps.ocp4poc.lab.shift.zone
port:
targetPort: 5601
to:
kind: Service
name: elastiflow-kibana
weight: 100
wildcardPolicy: None