Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created October 23, 2015 19:25
Show Gist options
  • Save kelseyhightower/22b9dc0a65e007c86d85 to your computer and use it in GitHub Desktop.
Save kelseyhightower/22b9dc0a65e007c86d85 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: fluentd-cloud-logging
namespace: kube-system
spec:
containers:
- name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.11
resources:
limits:
cpu: 100m
memory: 200Mi
env:
- name: "FLUENTD_ARGS"
value: "-qq"
volumeMounts:
- name: varlog
mountPath: /varlog
- name: containers
mountPath: /var/lib/docker/containers
volumes:
- name: varlog
hostPath:
path: /var/log
- name: containers
hostPath:
path: /var/lib/docker/containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment