-
Notifications
You must be signed in to change notification settings - Fork 0
/
elasticsearch-deployment.yaml
43 lines (43 loc) · 1.05 KB
/
elasticsearch-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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert --volumes hostPath
kompose.version: 1.21.0 ()
creationTimestamp: null
labels:
io.kompose.service: elasticsearch
name: elasticsearch
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: elasticsearch
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert --volumes hostPath
kompose.version: 1.21.0 ()
creationTimestamp: null
labels:
io.kompose.service: elasticsearch
spec:
containers:
- env:
- name: ES_JAVA_OPTS
value: -Xms512m -Xmx512m
- name: bootstrap.memory_lock
value: "true"
- name: discovery.type
value: single-node
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
imagePullPolicy: ""
name: elasticsearch
ports:
- containerPort: 9200
resources: {}
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}