apiVersion: apps/v1
kind: Deployment
metadata:
  name: disk-empty
spec:
  replicas: 2
  selector:
    matchLabels:
      app: disk-empty
  template:
    metadata:
      labels:
        app: disk-empty
    spec:
      containers:
      - image: hwchiu/netutils
        name: c1
        volumeMounts:
          - mountPath: "/c1"
            name: emptydir-demo
      - image: hwchiu/netutils
        name: c2
        volumeMounts:
          - mountPath: "/c2"
            name: emptydir-demo
      - image: hwchiu/netutils
        name: c3
        volumeMounts:
          - mountPath: "/c3"
            name: emptydir-demo
      volumes:
        - name: emptydir-demo
          emptyDir: {}
