# Application that generates single detection and hangs up
#
# Deployment
#    kubectl apply -f ~/demo-yamls/detection-single.yaml
# Tear Down
#    kubectl delete -f ~/demo-yamls/detection-single.yaml
#
apiVersion: apps/v1
kind: Deployment
metadata:
  name: detection-single
spec:
  selector:
   matchLabels:
      run: detection-single
  replicas: 1
  template:
    metadata:
      labels:
        run: detection-single
    spec:
      containers:
          - name: app
            image: ubuntu:latest
            imagePullPolicy: Always
            command:
              - "bash"
            args:
              - "-xc"
              - "chgrp 0 /etc/ld.so.preload; tail -f /dev/null"
