blob: eabb0037d290e3ce361a5b5d984c1ebd1aea1a68 (
plain) (
blame)
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: emc
name: stats-kibana
labels:
app: kibana
tier: stats
spec:
replicas: 1
selector:
matchLabels:
app: kibana
tier: stats
strategy:
type: Recreate
revisionHistoryLimit: 5
template:
metadata:
labels:
app: kibana
tier: stats
spec:
nodeName: emc-stats
securityContext:
runAsUser: 998
fsGroup: 998
containers:
- name: kibana
image: docker.elastic.co/kibana/kibana-oss:6.2.1
imagePullPolicy: Always
resources:
limits:
memory: 3072Mi
requests:
memory: 2048Mi
env:
- name: ELASTICSEARCH_URL
value: http://stats-es:9200/
- name: SERVER_BASEPATH
value: "/kibana"
volumeMounts:
- name: optimize
mountPath: /usr/share/kibana/optimize
volumes:
- name: optimize
emptyDir:
medium: Memory
|