| #{{ if not .Values.disableLogElasticsearch }} |
| apiVersion: extensions/v1beta1 |
| namespace: {{ .Values.nsPrefix }}-log |
| - vm.max_map_count=262144 |
| fieldPath: metadata.namespace |
| image: {{ .Values.image.es_bb }} |
| imagePullPolicy: {{ .Values.pullPolicy }} |
| image: {{ .Values.image.elasticsearch}} |
| - mountPath: /usr/share/elasticsearch/config/elasticsearch.yml |
| subPath: elasticsearch.yml |
| - mountPath: /usr/share/elasticsearch/data/ |
| - mountPath: /usr/share/elasticsearch/logs/ |
| - name: elasticsearch-data |
| claimName: elasticsearch-db |
| - name: elasticsearch-logs |
| path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/elasticsearch/logs |
| - name: elasticsearch-conf |
| name: elasticsearch-configmap |
| name: elasticsearch-configmap |
| namespace: {{ .Values.nsPrefix }}-log |
| {{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }} |