Hi!
I’m trying to run in kubernetes cluster multi-scenario k6 test (5 scenarios, 1 VU for each scenario, executor constant-vus) with parallelism 5. I want to distribute the job among 5 instances (1 pod for one scenario with 1 VU).
const scenarios= {
'test1': {
executor: 'constant-vus',
vus: 1,
duration: 60m,
options: {
browser: {
type: 'chromium',
},
},
exec: 'test1',
},
'test2': {
executor: 'constant-vus',
vus: 1,
duration: 60m,
options: {
browser: {
type: 'chromium',
},
},
exec: 'test2',
},
'test3': {
executor: 'constant-vus',
vus: 1,
duration: 60m,
options: {
browser: {
type: 'chromium',
},
},
exec: 'test3',
},
'test4': {
executor: 'constant-vus',
vus: 1,
duration: 60m,
options: {
browser: {
type: 'chromium',
},
},
exec: 'test4',
},
'test5': {
executor: 'constant-vus',
vus: 1,
duration: 60m,
options: {
browser: {
type: 'chromium',
},
},
exec: 'test5',
},
}
I have these warning messages in 4 pods and after 1 pod is running and another 4 completed.
{"level":"warning","msg":"Executor 'test1' is disabled for segment 4/5:1 due to lack of work!","time":"2024-01-04T16:38:44Z"}
{"level":"warning","msg":"Executor 'test2' is disabled for segment 4/5:1 due to lack of work!","time":"2024-01-04T16:38:44Z"}
{"level":"warning","msg":"Executor 'test3' is disabled for segment 4/5:1 due to lack of work!","time":"2024-01-04T16:38:44Z"}
{"level":"warning","msg":"Executor 'test4' is disabled for segment 4/5:1 due to lack of work!","time":"2024-01-04T16:38:44Z"}
{"level":"warning","msg":"Executor 'test5' is disabled for segment 4/5:1 due to lack of work!","time":"2024-01-04T16:38:44Z"}