Skip to content

Instantly share code, notes, and snippets.

@rpetti
Last active May 16, 2024 19:01
Show Gist options
  • Save rpetti/b800d28d24f8a9365458c83700df8d28 to your computer and use it in GitHub Desktop.
Save rpetti/b800d28d24f8a9365458c83700df8d28 to your computer and use it in GitHub Desktop.
docuum daemonset for kubernetes
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: docuum
namespace: kube-system
labels:
k8s-app: docuum
spec:
selector:
matchLabels:
name: docuum
template:
metadata:
labels:
name: docuum
spec:
containers:
- name: docuum
image: stephanmisc/docuum:0.25.0
args: ['--threshold', '150 GB']
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket-volume
securityContext:
privileged: true
volumes:
- name: docker-socket-volume
hostPath:
path: /var/run/docker.sock
type: Socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment