diff --git a/dev-upgrade/elastic/kibana.yaml b/dev-upgrade/elastic/kibana.yaml index 63a4375..1c35ea6 100644 --- a/dev-upgrade/elastic/kibana.yaml +++ b/dev-upgrade/elastic/kibana.yaml @@ -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