apiVersion: v1 kind: Pod metadata: name: hostpath-volume-pod spec: containers: - name: hostpath-redis image: redis:3.0-nanoserver volumeMounts: - name: blah mountPath: "C:\\etc\\foo" readOnly: true nodeSelector: beta.kubernetes.io/os: windows volumes: - name: blah hostPath: path: "C:\\etc\\foo"