-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathKibana_Deployment.yaml
46 lines (46 loc) · 1.14 KB
/
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
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: sample-kibana
labels:
component: sample-kibana
spec:
replicas: 1
selector:
matchLabels:
component: sample-kibana
template:
metadata:
labels:
component: sample-kibana
spec:
containers:
- name: sample-kibana
image: docker.elastic.co/kibana/kibana:6.4.1
resources:
limits:
cpu: 1000m
requests:
cpu: 100m
ports:
- containerPort: 5601
name: http
volumeMounts:
- name: sample-kibana-configmap
mountPath: /usr/share/kibana/config/kibana.yml
subPath: kibana.yml
resources: {}
terminationMessagePath: "/dev/termination-log"
terminationMessagePolicy: File
imagePullPolicy: Always
securityContext:
privileged: false
volumes:
- name: sample-kibana-configmap
configMap:
name: sample-kibana-configmap
restartPolicy: Always
terminationGracePeriodSeconds: 5
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler