-
Notifications
You must be signed in to change notification settings - Fork 13
/
elasticsearch.yaml
93 lines (91 loc) · 2.89 KB
/
elasticsearch.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
apiVersion: v1
kind: ReplicationController
metadata:
name: $APP_NAME|default:elasticsearch| Enter your application name$
kuberdock:
packageID: 0
preDescription: |
You are installing the application [b]ElasticSearch[/b].
Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore.
Choose the amount of resources or use recommended parameters set by default.
First choose package.
When you click "Order now", you will get to order processing page.
postDescription: |
You have installed [b]ElasticSearch![/b]
Please find more information about ElasticSearch software on the official website [url]https://www.elastic.co[/url]
To access [b]ElasticSearch[/b] use your podIP with ports:
[b]Http port:[/b] $ELASTIC_HTTP_HOST_PORT$
[b]Tcp port:[/b] $ELASTIC_TCP_HOST_PORT$
# required for cPanel to do proxy to user`s domain
# proxy:
# root:
# container: elastic
# domain: $APP_DOMAIN|default:user_domain_list|Select application domain$
appPackages:
- name: S
goodFor: beginner
pods:
-
name: $APP_NAME$
kubeType: 0
containers:
- name: elastic
kubes: 6
persistentDisks:
- name: elastic-persistent-storage
pdSize: 1
- name: M
recommended: yes
goodFor: regular use
pods:
-
name: $APP_NAME$
kubeType: 1
containers:
- name: elastic
kubes: 6
persistentDisks:
- name: elastic-persistent-storage
pdSize: 1
- name: L
goodFor: business
pods:
-
name: $APP_NAME$
kubeType: 2
containers:
- name: elastic
kubes: 6
persistentDisks:
- name: elastic-persistent-storage
pdSize: 2
spec:
template:
metadata:
labels:
name: $APP_NAME$
spec:
volumes:
- name: elastic-persistent-storage
persistentDisk:
pdName: elastic_pd_$PD_RAND|default:autogen|PD rand$
restartPolicy: "Always"
containers:
- name: elastic
image: elasticsearch:2
ports:
- containerPort: 9200
podPort: $ELASTIC_HTTP_HOST_PORT|default:9200|Enter ElasticSearch http host port$
isPublic: False
- containerPort: 9300
podPort: $ELASTIC_TCP_HOST_PORT|default:9300|Enter ElasticSearch tcp host port$
isPublic: False
readinessProbe:
httpGet:
path: /
scheme: HTTP
port: 9200
initialDelaySeconds: 5
volumeMounts:
- mountPath: /usr/share/elasticsearch/data
name: elastic-persistent-storage