mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
logging: add fluent-bit
This commit is contained in:
parent
3dcbe3c1a1
commit
9a8ebc84b3
2 changed files with 29 additions and 0 deletions
|
|
@ -8,3 +8,6 @@ dependencies:
|
||||||
- name: elasticsearch
|
- name: elasticsearch
|
||||||
version: '7.4.1'
|
version: '7.4.1'
|
||||||
repository: https://helm.elastic.co
|
repository: https://helm.elastic.co
|
||||||
|
- name: fluent-bit
|
||||||
|
version: '2.8.2'
|
||||||
|
repository: '@stable'
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,25 @@ elasticsearch:
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
volumeName: elasticsearch
|
volumeName: elasticsearch
|
||||||
|
|
||||||
|
fluent-bit:
|
||||||
|
nameOverride: fluent-bit
|
||||||
|
fullnameOverride: fluent-bit
|
||||||
|
input:
|
||||||
|
systemd:
|
||||||
|
enabled: true
|
||||||
|
backend:
|
||||||
|
# no support for gelf in chart, configure manually
|
||||||
|
type: none
|
||||||
|
extraEntries:
|
||||||
|
output: |
|
||||||
|
[OUTPUT]
|
||||||
|
Name gelf
|
||||||
|
Match *
|
||||||
|
Host graylog-tcp
|
||||||
|
Port 12201
|
||||||
|
Mode tcp
|
||||||
|
Gelf_Short_Message_Key log
|
||||||
|
|
||||||
graylog:
|
graylog:
|
||||||
nameOverride: graylog
|
nameOverride: graylog
|
||||||
fullnameOverride: graylog
|
fullnameOverride: graylog
|
||||||
|
|
@ -50,6 +69,13 @@ graylog:
|
||||||
- hosts:
|
- hosts:
|
||||||
- graylog.gorilych.ru
|
- graylog.gorilych.ru
|
||||||
secretName: graylog-tls
|
secretName: graylog-tls
|
||||||
|
input:
|
||||||
|
tcp:
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- name: gelf
|
||||||
|
port: 12201
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://mongodb:27017/graylog
|
uri: mongodb://mongodb:27017/graylog
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue