31 lines
618 B
YAML
31 lines
618 B
YAML
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
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: varlog
|
|
hostPath:
|
|
path: /var/log
|
|
- name: containers
|
|
hostPath:
|
|
path: /var/lib/docker/containers
|
|
|