Files
David Lyle ccddc591dc Adding metric for inode usage
Adds support for tracking inode usage on the nodes. Results also
added to report.

The stats pod is updated as well to use net=host.
2019-09-12 09:45:05 -05:00

33 lines
748 B
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: stats
spec:
selector:
matchLabels:
name: stats-pods
template:
metadata:
labels:
name: stats-pods
spec:
hostNetwork: true
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
terminationGracePeriodSeconds: 0
containers:
- name: stats
image: busybox
securityContext:
# Run a priv container so we really do measure what is happening on the
# host (node) system
privileged: true
command:
- "tail"
- "-f"
- "/dev/null"
stdin: true
tty: true