Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
svc: logger
name: logger
namespace: fission
spec:
selector:
matchLabels:
svc: logger
template:
metadata:
labels:
svc: logger
spec:
serviceAccount: fission-admin
containers:
- args:
- --logger
command:
- /fission-bundle
image: fission/fission-bundle:nightly20170705
imagePullPolicy: IfNotPresent
name: logger
ports:
- containerPort: 1234
hostPort: 1234
protocol: TCP
volumeMounts:
- mountPath: /var/log/containers
name: container-log
readOnly: true
- mountPath: /var/lib/docker/containers
name: docker-log
readOnly: true
- mountPath: /var/log/fission
name: fission-log
- env:
- name: INFLUXDB_ADDRESS
value: influxdb
- name: INFLUXDB_PORT
value: "8086"
- name: INFLUXDB_DBNAME
value: fissionFunctionLog
- name: INFLUXDB_USERNAME
- name: INFLUXDB_PASSWD
image: fission/fluentd
imagePullPolicy: IfNotPresent
name: fluentd
volumeMounts:
- mountPath: /var/log/containers
name: container-log
readOnly: true
- mountPath: /var/lib/docker/containers
name: docker-log
readOnly: true
- mountPath: /var/log/fission
name: fission-log
volumes:
- hostPath:
path: /var/log/containers
name: container-log
- hostPath:
path: /var/lib/docker/containers
name: docker-log
- hostPath:
path: /var/log/fission
name: fission-log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.