加了一些莫名其妙的设置
This commit is contained in:
parent
771073217d
commit
11a10273d4
@ -37,6 +37,16 @@ spec:
|
|||||||
value: "elasticsearch-0"
|
value: "elasticsearch-0"
|
||||||
- name: discovery.seed_hosts
|
- name: discovery.seed_hosts
|
||||||
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
||||||
|
- name: cluster.routing.allocation.awareness.attributes
|
||||||
|
value: "zone"
|
||||||
|
- name: node.attr.zone
|
||||||
|
value: "zone-0"
|
||||||
|
- name: cluster.routing.allocation.node_concurrent_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: cluster.routing.allocation.node_initial_primaries_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: indices.recovery.max_bytes_per_sec
|
||||||
|
value: "100mb"
|
||||||
- name: cluster.initial_master_nodes
|
- name: cluster.initial_master_nodes
|
||||||
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
||||||
- name: xpack.security.enabled
|
- name: xpack.security.enabled
|
||||||
@ -48,7 +58,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "6Gi"
|
memory: "6Gi"
|
||||||
cpu: "2"
|
cpu: "3"
|
||||||
limits:
|
limits:
|
||||||
memory: "8Gi"
|
memory: "8Gi"
|
||||||
cpu: "4"
|
cpu: "4"
|
||||||
@ -139,6 +149,16 @@ spec:
|
|||||||
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
||||||
- name: cluster.initial_master_nodes
|
- name: cluster.initial_master_nodes
|
||||||
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
||||||
|
- name: cluster.routing.allocation.awareness.attributes
|
||||||
|
value: "zone"
|
||||||
|
- name: node.attr.zone
|
||||||
|
value: "zone-0"
|
||||||
|
- name: cluster.routing.allocation.node_concurrent_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: cluster.routing.allocation.node_initial_primaries_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: indices.recovery.max_bytes_per_sec
|
||||||
|
value: "100mb"
|
||||||
- name: xpack.security.enabled
|
- name: xpack.security.enabled
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: ES_JAVA_OPTS
|
- name: ES_JAVA_OPTS
|
||||||
@ -148,10 +168,10 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "4Gi"
|
memory: "4Gi"
|
||||||
cpu: "1"
|
cpu: "2"
|
||||||
limits:
|
limits:
|
||||||
memory: "6Gi"
|
memory: "6Gi"
|
||||||
cpu: "2"
|
cpu: "3"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tz-db
|
- name: tz-db
|
||||||
mountPath: /usr/share/zoneinfo
|
mountPath: /usr/share/zoneinfo
|
||||||
@ -239,6 +259,16 @@ spec:
|
|||||||
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
||||||
- name: cluster.initial_master_nodes
|
- name: cluster.initial_master_nodes
|
||||||
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
||||||
|
- name: cluster.routing.allocation.awareness.attributes
|
||||||
|
value: "zone"
|
||||||
|
- name: node.attr.zone
|
||||||
|
value: "zone-0"
|
||||||
|
- name: cluster.routing.allocation.node_concurrent_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: cluster.routing.allocation.node_initial_primaries_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: indices.recovery.max_bytes_per_sec
|
||||||
|
value: "100mb"
|
||||||
- name: xpack.security.enabled
|
- name: xpack.security.enabled
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: ES_JAVA_OPTS
|
- name: ES_JAVA_OPTS
|
||||||
@ -251,7 +281,7 @@ spec:
|
|||||||
cpu: "1"
|
cpu: "1"
|
||||||
limits:
|
limits:
|
||||||
memory: "6Gi"
|
memory: "6Gi"
|
||||||
cpu: "2"
|
cpu: "3"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tz-db
|
- name: tz-db
|
||||||
mountPath: /usr/share/zoneinfo
|
mountPath: /usr/share/zoneinfo
|
||||||
@ -339,6 +369,16 @@ spec:
|
|||||||
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local"
|
||||||
- name: cluster.initial_master_nodes
|
- name: cluster.initial_master_nodes
|
||||||
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]"
|
||||||
|
- name: cluster.routing.allocation.awareness.attributes
|
||||||
|
value: "zone"
|
||||||
|
- name: node.attr.zone
|
||||||
|
value: "zone-0"
|
||||||
|
- name: cluster.routing.allocation.node_concurrent_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: cluster.routing.allocation.node_initial_primaries_recoveries
|
||||||
|
value: "8"
|
||||||
|
- name: indices.recovery.max_bytes_per_sec
|
||||||
|
value: "100mb"
|
||||||
- name: xpack.security.enabled
|
- name: xpack.security.enabled
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: ES_JAVA_OPTS
|
- name: ES_JAVA_OPTS
|
||||||
@ -347,11 +387,11 @@ spec:
|
|||||||
value: "[data_warm, master, data_content, remote_cluster_client]"
|
value: "[data_warm, master, data_content, remote_cluster_client]"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "4Gi"
|
memory: "5Gi"
|
||||||
cpu: "1"
|
cpu: "2"
|
||||||
limits:
|
limits:
|
||||||
memory: "6Gi"
|
memory: "6Gi"
|
||||||
cpu: "2"
|
cpu: "3"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tz-db
|
- name: tz-db
|
||||||
mountPath: /usr/share/zoneinfo
|
mountPath: /usr/share/zoneinfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user