--- apiVersion: v1 kind: Pod metadata: name: spec: volumes: - name: dshm emptyDir: medium: Memory restartPolicy: OnFailure containers: - name: image: volumeMounts: - mountPath: /dev/shm name: dshm command: - "/bin/sh" - "-c" args: - resources: limits: cpu: nodeSelector: test_type: gpu