mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-22 07:08:06 +00:00
ccddc591dc
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.
33 lines
748 B
YAML
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
|