Skip to content

Instantly share code, notes, and snippets.

@HammoTime
Created July 18, 2020 11:56
Show Gist options
  • Save HammoTime/aa37d0a783ece8fd652afa27b5c4c1f7 to your computer and use it in GitHub Desktop.
Save HammoTime/aa37d0a783ece8fd652afa27b5c4c1f7 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluentd
namespace: monitoring
labels:
k8s-app: fluentd-logging
spec:
template:
spec:
containers:
- name: fluentd
env:
- name: LOGGLY_TOKEN
valueFrom:
secretKeyRef:
name: monitoring-secrets
key: loggly_token
- name: LOGGLY_TAGS
value: k8s, fluentd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment