forked from polonel/trudesk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elasticsearch-deployment.yaml
58 lines (58 loc) · 1.54 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: elasticsearch
name: elasticsearch
namespace: default
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: elasticsearch
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: elasticsearch
spec:
containers:
- env:
- name: bootstrap.memory_lock
value: "false"
- name: cluster.initial_master_nodes
value: estrudesk01
- name: discovery.seed_hosts
value: estrudesk01
- name: node.name
value: estrudesk01
- name: xpack.security.enabled
value: "false"
- name: xpack.security.http.ssl.enabled
value: "false"
image: elasticsearch:8.0.0
name: elasticsearch
ports:
- containerPort: 9200
- containerPort: 9300
resources: {}
#limits:
# memory: "1073741824"
volumeMounts:
- mountPath: /usr/share/elasticsearch/data
name: elasticsearch
restartPolicy: Always
volumes:
- name: elasticsearch
persistentVolumeClaim:
claimName: elasticsearch
status: {}