# k8s_docs_emptydir-pod.yaml
apiVersion: v1
kind: Pod
metadata:
  name: my-empty-dir-pod
spec:
  containers:
  - image: microsoft/windowsservercore:1709
    name: my-empty-dir-pod
    volumeMounts:
    - mountPath: /cache
      name: cache-volume
    - mountPath: C:/scratch
      name: scratch-volume
  volumes:
  - name: cache-volume
    emptyDir: {}
  - name: scratch-volume
    emptyDir: {}
  nodeSelector:
    kubernetes.io/os: windows