a25edfdf13
Receives the http-log plugin's POSTs and dumps each record as a JSON line to a PVC-backed file. Applied directly (kubectl), same as Jaeger in this namespace — not Flux-managed yet.
34 lines
809 B
YAML
34 lines
809 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: audit-log-collector
|
|
namespace: observability
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: audit-log-collector
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: audit-log-collector
|
|
spec:
|
|
containers:
|
|
- name: fluent-bit
|
|
image: fluent/fluent-bit:3.2
|
|
ports:
|
|
- containerPort: 8888
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /fluent-bit/etc/fluent-bit.conf
|
|
subPath: fluent-bit.conf
|
|
- name: data
|
|
mountPath: /data
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: audit-log-collector-config
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: audit-log-collector-data
|