apiVersion: batch/v1
kind: Job
metadata:
  name: generator
spec:
  parallelism: 1
  completions: 1
spec:
  template:
    metadata: 
      labels:
        application: generator
    spec:
      restartPolicy: Never
      containers:
      - name: generator
        #image: image-registry.openshift-image-registry.svc:5000/service-telemetry/generator:latest
        image: quay.io/infrawatch/generator:latest
        command: [ '/gen', '-i','generator','SLEEP','-c',"COUNT",'-t','10','-o','5','-m','100','-a','collectd/telemetry', 'default-interconnect.service-telemetry.svc', '5672']
        resources:
          limits:
            memory: "1Gi"
          
