Skip to content

Commit

Permalink
(site/dev) Add fluentbit operator client to kueyen
Browse files Browse the repository at this point in the history
  • Loading branch information
gseriche committed Jan 17, 2025
1 parent ea33a83 commit dd63eec
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
29 changes: 29 additions & 0 deletions fleet/lib/fluent-operator/client/clusteroutput-fluentbit-loki.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterOutput
metadata:
labels:
fluentbit.fluent.io/enabled: "true"
name: fluentbit-output-loki
namespace: fluent-operator
spec:
matchRegex: (?:kube|service)\.(.*)
loki:
host: loki.kueyen.dev.lsst.org
port: 443
tls:
verify: false
labels:
- job=fluentbit
- k8s_namespace=$kubernetes['namespace_name']
- k8s_pod_name=$kubernetes['pod_name']
- k8s_container_name=$kubernetes['container_name']
- k8s_host=$kubernetes['host']
label_keys:
- app
- release
- component
line_format: json
auto_kubernetes_labels: false
retry_limit: 3
buffer_size: 100MB
3 changes: 3 additions & 0 deletions fleet/lib/fluent-operator/client/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
resources:
- clusteroutput-fluentbit-loki.yaml
22 changes: 22 additions & 0 deletions fleet/lib/fluent-operator/fleet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
defaultNamespace: &name fluent-operator
labels:
bundle: *name
namespaceLabels:
lsst.io/discover: "true"
kustomize:
dir: client
helm:
chart: *name
releaseName: *name
repo: https://fluent.github.io/helm-charts
version: 2.7.0
waitForJobs: true
values:
fluentbit:
logLevel: debug
filter:
kubernetes:
bufferSize: 100MB
systemd:
enable: true

0 comments on commit dd63eec

Please sign in to comment.