Fix ElasticSearch
This commit is contained in:
parent
d1057513ad
commit
63e152f59c
@ -1,5 +1,5 @@
|
|||||||
replicas: 1
|
replicas: 2
|
||||||
minimumMasterNodes: 1
|
minimumMasterNodes: 2
|
||||||
imageTag: 9.1.3
|
imageTag: 9.1.3
|
||||||
esJavaOpts: "-Xms2g -Xmx2g"
|
esJavaOpts: "-Xms2g -Xmx2g"
|
||||||
protocol: http
|
protocol: http
|
||||||
@ -23,6 +23,6 @@ extraEnvs:
|
|||||||
- name: http.cors.enabled
|
- name: http.cors.enabled
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: http.cors.allow-origin
|
- name: http.cors.allow-origin
|
||||||
value: "*"
|
value: "/http://.*/"
|
||||||
secret:
|
secret:
|
||||||
password: GTRNZHCJTiGJ2CfY
|
password: GTRNZHCJTiGJ2CfY
|
||||||
|
|||||||
@ -93,7 +93,7 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: "elasticsearch-master"
|
app: "elasticsearch-master"
|
||||||
replicas: 1
|
replicas: 2
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: Parallel
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
@ -243,7 +243,7 @@ spec:
|
|||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: cluster.initial_master_nodes
|
- name: cluster.initial_master_nodes
|
||||||
value: "elasticsearch-master-0,"
|
value: "elasticsearch-master-0,elasticsearch-master-1,"
|
||||||
- name: node.roles
|
- name: node.roles
|
||||||
value: "master,data,data_content,data_hot,data_warm,data_cold,ingest,ml,remote_cluster_client,transform,"
|
value: "master,data,data_content,data_hot,data_warm,data_cold,ingest,ml,remote_cluster_client,transform,"
|
||||||
- name: discovery.seed_hosts
|
- name: discovery.seed_hosts
|
||||||
@ -264,7 +264,7 @@ spec:
|
|||||||
- name: http.cors.enabled
|
- name: http.cors.enabled
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: http.cors.allow-origin
|
- name: http.cors.allow-origin
|
||||||
value: '*'
|
value: /http://.*/
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: "elasticsearch-master"
|
- name: "elasticsearch-master"
|
||||||
mountPath: /usr/share/elasticsearch/data
|
mountPath: /usr/share/elasticsearch/data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user