apiVersion: v1 kind: Pod metadata: name: pod-with-emptydir annotations: cluster-autoscaler.kubernetes.io/safe-to-evict: "true" spec: containers: - image: registry.k8s.io/test-webserver name: test-container volumeMounts: - mountPath: /cache name: cache-volume volumes: - name: cache-volume emptyDir: {}