Last active
May 16, 2024 19:01
-
-
Save rpetti/b800d28d24f8a9365458c83700df8d28 to your computer and use it in GitHub Desktop.
docuum daemonset for kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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