Individuall csv generation

apiVersion: k6.io/v1alpha1
kind: K6                                                                                                                                                                                                            
metadata:
  name: k6-sam
spec:
  parallelism: 4
  script:
    volumeClaim:
      name: azurefile
      file: test.js
  arguments: --out csv=/test/{{unique_name}}.csv
runner:
    resources:
      limits:
        cpu: 7000m
        memory: 40000Mi
      requests:
        cpu: 6000m
        memory: 20000Mi

Is it possible to create cust.yaml like above mentioned so that every pod writes the data into a unique csv. As there are concurrency issues when multiple pods write data into the same csv as discussed here CSV/Json output is broken when running 5 parallel scripts · Issue #163 · grafana/k6-operator · GitHub

Hi @patenvy,
No, such a thing is not supported by the k6-operator at this point of time. As is described in the link you included, combining CSVs or JSONs is considered responsibility of the user.

1 Like

can I use helm charts here to achieve this functionality ?

BUT how to get individual CSV’s for each pod. I am not getting individual csv for each pod right now