optimize kibana
parent
da8181fc39
commit
2980dfc7be
|
@ -7,6 +7,9 @@ data:
|
|||
server.name: kibana
|
||||
server.host: 0.0.0.0
|
||||
elasticsearch.hosts: [ "http://elastic:9200" ]
|
||||
node.options: |-
|
||||
--max-old-space-size=4096
|
||||
--unhandled-rejections=warn
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
|
@ -33,15 +36,19 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 1Gi
|
||||
cpu: 2
|
||||
memory: 4Gi
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /usr/share/kibana/config/kibana.yml
|
||||
subPath: kibana.yml
|
||||
readOnly: true
|
||||
- name: node-options
|
||||
mountPath: /usr/share/kibana/config/node.options
|
||||
subPath: node.options
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
@ -49,6 +56,12 @@ spec:
|
|||
items:
|
||||
- key: kibana.yml
|
||||
path: kibana.yml
|
||||
- name: node-options
|
||||
configMap:
|
||||
name: kibana-config
|
||||
items:
|
||||
- key: node.options
|
||||
path: node.options
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
Loading…
Reference in New Issue