apiVersion: batch/v1
kind: Job
metadata:
  name: cockroachdb-lg
spec:
  template:
    metadata:
      labels:
        app: cockroachdb-lg
    spec:
      restartPolicy: Never
      containers:
      - name: cockroachdb-lg
        image: cockroachdb/loadgen-kv:0.1
        imagePullPolicy: IfNotPresent
        command:
          - "/kv"
          - "--duration"
          - "5m"
          - "postgres://root@cockroachdb-public:26257/kv?sslmode=disable"
