mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39: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
|
||||
version: '7.4.1'
|
||||
repository: https://helm.elastic.co
|
||||
- name: fluent-bit
|
||||
version: '2.8.2'
|
||||
repository: '@stable'
|
||||
|
|
|
|||
|
|
@ -19,6 +19,25 @@ elasticsearch:
|
|||
volumeClaimTemplate:
|
||||
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:
|
||||
nameOverride: graylog
|
||||
fullnameOverride: graylog
|
||||
|
|
@ -50,6 +69,13 @@ graylog:
|
|||
- hosts:
|
||||
- graylog.gorilych.ru
|
||||
secretName: graylog-tls
|
||||
input:
|
||||
tcp:
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: gelf
|
||||
port: 12201
|
||||
mongodb:
|
||||
uri: mongodb://mongodb:27017/graylog
|
||||
elasticsearch:
|
||||
|
|
|
|||
Loading…
Reference in a new issue