Skip to content

Instantly share code, notes, and snippets.

@yankcrime
Created July 23, 2021 15:21
Show Gist options
  • Save yankcrime/7c5a17bc80eb7bca94191e46cb4f56b3 to your computer and use it in GitHub Desktop.
Save yankcrime/7c5a17bc80eb7bca94191e46cb4f56b3 to your computer and use it in GitHub Desktop.
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterOutput
metadata:
name: loki
namespace: cattle-logging-system
spec:
loki:
url: http://loki.loki:3100
configure_kubernetes_labels: true
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterFlow
metadata:
name: all-logs-to-loki
namespace: cattle-logging-system
spec:
globalOutputRefs:
- loki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment