mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
logging: add elasticsearch
This commit is contained in:
parent
c4c4ea90ad
commit
4df7a4623d
3 changed files with 22 additions and 2 deletions
|
|
@ -5,3 +5,6 @@ dependencies:
|
||||||
- name: mongodb
|
- name: mongodb
|
||||||
version: '7.4.5'
|
version: '7.4.5'
|
||||||
repository: '@stable'
|
repository: '@stable'
|
||||||
|
- name: elasticsearch
|
||||||
|
version: '7.4.1'
|
||||||
|
repository: https://helm.elastic.co
|
||||||
|
|
|
||||||
11
apps/system/logging/templates/elasticsearch-volume.yaml
Normal file
11
apps/system/logging/templates/elasticsearch-volume.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: elasticsearch
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 30Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
hostPath:
|
||||||
|
path: /data/elasticsearch
|
||||||
|
|
@ -10,6 +10,11 @@ mongodb:
|
||||||
persistence:
|
persistence:
|
||||||
existingClaim: mongodb
|
existingClaim: mongodb
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
replicas: 1
|
||||||
|
volumeClaimTemplate:
|
||||||
|
volumeName: elasticsearch
|
||||||
|
|
||||||
graylog:
|
graylog:
|
||||||
nameOverride: graylog
|
nameOverride: graylog
|
||||||
fullnameOverride: graylog
|
fullnameOverride: graylog
|
||||||
|
|
@ -28,6 +33,7 @@ graylog:
|
||||||
- graylog.gorilych.ru
|
- graylog.gorilych.ru
|
||||||
secretName: graylog-tls
|
secretName: graylog-tls
|
||||||
mongodb:
|
mongodb:
|
||||||
uri:
|
uri: mongodb://mongodb:27017/graylog
|
||||||
mongodb://mongodb:27017/graylog
|
elasticsearch:
|
||||||
|
hosts: http://elasticsearch-master:9200
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue