mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Add Fluent Bit configuration and update probe intervals in Helm chart
This commit is contained in:
8
FluentBit/Dockerfile.tpl
Normal file
8
FluentBit/Dockerfile.tpl
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM cr.fluentbit.io/fluent/fluent-bit
|
||||
|
||||
# This container will only run in dev env, so this is ok.
|
||||
USER root
|
||||
|
||||
EXPOSE 24224
|
||||
EXPOSE 24284
|
||||
EXPOSE 2020
|
||||
12
FluentBit/fluent-bit.yaml
Normal file
12
FluentBit/fluent-bit.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
service:
|
||||
flush: 1
|
||||
log_level: info
|
||||
http_server: true
|
||||
http_listen: 0.0.0.0
|
||||
http_port: 2020
|
||||
pipeline:
|
||||
inputs:
|
||||
- name: random
|
||||
outputs:
|
||||
- name: stdout
|
||||
match: '*'
|
||||
@@ -388,17 +388,17 @@ notifications:
|
||||
|
||||
startupProbe: # Startup probe configuration
|
||||
enabled: true
|
||||
periodSeconds: 30
|
||||
periodSeconds: 60
|
||||
failureThreshold: 18
|
||||
|
||||
livenessProbe: # Liveness probe configuration
|
||||
enabled: true
|
||||
periodSeconds: 30
|
||||
periodSeconds: 60
|
||||
timeoutSeconds: 120
|
||||
initialDelaySeconds: 10
|
||||
|
||||
readinessProbe: # Readiness probe configuration
|
||||
enabled: true
|
||||
periodSeconds: 30
|
||||
periodSeconds: 60
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 120
|
||||
|
||||
@@ -408,6 +408,15 @@ services:
|
||||
options:
|
||||
max-size: "1000m"
|
||||
|
||||
fluent-bit:
|
||||
networks:
|
||||
- oneuptime
|
||||
restart: always
|
||||
logging:
|
||||
driver: "local"
|
||||
options:
|
||||
max-size: "1000m"
|
||||
|
||||
isolated-vm:
|
||||
networks:
|
||||
- oneuptime
|
||||
|
||||
@@ -425,6 +425,21 @@ services:
|
||||
context: ./Fluentd
|
||||
dockerfile: ./Dockerfile
|
||||
|
||||
fluent-bit:
|
||||
ports:
|
||||
- 24225:24224
|
||||
- 24285:24284
|
||||
- 2020:2020
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: fluent-bit
|
||||
volumes:
|
||||
- ./FluentBit/fluent-bit.yaml:/fluent-bit/etc/fluent-bit.yaml
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./FluentBit/Dockerfile
|
||||
|
||||
ingress:
|
||||
build:
|
||||
network: host
|
||||
|
||||
Reference in New Issue
Block a user