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