apiVersion: apps/v1
kind: Deployment
metadata:
  name: target-deployment
  labels:
    app: target
spec:
  replicas: 3
  selector:
    matchLabels:
      app: target
  template:
    metadata:
      labels:
        app: target
    spec:
      containers:
      - image: alpine:latest
        name: target-deployment
        command:
        - sh
        - -c
        - "while : ; do touch /tmp/test-file; sleep 1; done"
      dnsPolicy: ClusterFirst
      restartPolicy: Always
