Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add example to use monitoring #1401

Merged
merged 3 commits into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions config/samples/logging_logging_with_monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# example config to activate monitoring,
# required to use logging dashboard
eumel8 marked this conversation as resolved.
Show resolved Hide resolved
# depends on https://github.com/prometheus-operator/prometheus-operator
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
name: logging-example
spec:
controlNamespace: kube-logging
enableRecreateWorkloadOnImmutableFieldChange: true
fluentd:
bufferVolumeImage:
repository: ghcr.io/kube-logging/node-exporter
bufferVolumeMetrics:
prometheusRules: true
serviceMonitor: true
metrics:
prometheusRules: true
serviceMonitor: true
# fluentbit:
# metrics:
# prometheusRules: true
# serviceMonitor: true
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: FluentbitAgent
metadata:
name: logging-example
spec:
metrics:
prometheusRules: true
serviceMonitor: true