---
apiVersion: batch/v1
kind: Job
metadata:
  name: cassandra-loadgen
spec:
  template:
    metadata:
      name: cassandra-loadgen
    spec:
      restartPolicy: Never
      containers:
      - name: cassandra-loadgen
        image: cassandra
        command: ["/bin/bash"]
        args: ["-c", "cassandra-stress write duration=5m no-warmup -node cassandra-0.cassandra"]
        tty: true 


---
apiVersion: batch/v1
kind: Job
metadata:
  name: cassandra-loadgen
spec:
  template:
    metadata:
      name: cassandra-loadgen
      labels:
        app: cassandra-loadgen
    spec:
      restartPolicy: Never
      containers:
      - name: cassandra-loadgen
        image: cassandra
        command: ["/bin/bash"]
        args: ["-c", "cassandra-stress write duration=5m no-warmup -node cassandra-0.cassandra"]
        tty: true 


Add label to cassandra loadgen job specification to aid deployment checks
Add label to cassandra loadgen job specification to aid deployment checks

Signed-off-by: ksatchit <4e09569602c0d91933a7f764cdb047663f85b57e@openebs.io>
