mirror of https://github.com/k3s-io/k3s
29 lines
573 B
YAML
29 lines
573 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: fluentd-elasticsearch
|
|
namespace: kube-system
|
|
spec:
|
|
containers:
|
|
- name: fluentd-elasticsearch
|
|
image: gcr.io/google_containers/fluentd-elasticsearch:1.6
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
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
|
|
|