mirror of https://github.com/k3s-io/k3s
32 lines
659 B
YAML
32 lines
659 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: fluentd-elasticsearch
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: fluentd-logging
|
|
spec:
|
|
containers:
|
|
- name: fluentd-elasticsearch
|
|
image: gcr.io/google_containers/fluentd-elasticsearch:1.12
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
args:
|
|
- -q
|
|
volumeMounts:
|
|
- name: varlog
|
|
mountPath: /var/log
|
|
- name: varlibdockercontainers
|
|
mountPath: /var/lib/docker/containers
|
|
readOnly: true
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: varlog
|
|
hostPath:
|
|
path: /var/log
|
|
- name: varlibdockercontainers
|
|
hostPath:
|
|
path: /var/lib/docker/containers
|
|
|