apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-app
  labels:
    app: test
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test
  template:
    metadata:
      labels:
        app: test
    spec:
      containers:
        - image: alpine
          name: test
          command:
            - /bin/sh
            - -c

          args:
            - >
              ls -la /bin;
              while true; do sleep 100; done

          volumeMounts:
            - name: empty
              mountPath: /empty

      volumes:
        - name: empty
          emptyDir: {}
