apiVersion: apps/v1 kind: DaemonSet metadata: name: busybox-daemonset labels: app: busybox spec: selector: matchLabels: app: busybox template: metadata: labels: app: busybox spec: containers: - name: busybox image: busybox:1.28.4 command: - sleep - "36000" volumeMounts: - mountPath: /cache name: cache-volume volumes: - name: cache-volume emptyDir: {} restartPolicy: Always
hostpath