grafana / k6-operator

An operator for running distributed k6 tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node-Selector is not working

shaochun0530 opened this issue · comments

Brief summary

i have add nodeSelector on both runner and starter.
How ever when the runner pod is created the node selector was added in the pod spec.

k6-operator version or image

v0.0.10 (i've benn using the lastest helm version)

K6 YAML

apiVersion: k6.io/v1alpha1

kind: K6

metadata:

  name: run-k6-from-configmap

spec:

  parallelism: 4

  script:

    configMap:

      name: my-test

      file: test.js
   runner:
     nodeSelector:
       hello: "true"

Other environment details (if applicable)

No response

Steps to reproduce the problem

kubectl apply -f k6.yaml
kubectl delete -f k6.yaml

Expected behaviour

to create runner pod with nodeSelector

Actual behaviour

default nodeSelector

I guess is something related to the version of k6-operator. The verision fof the k6-operator should be 0.0.11rc2 in helm value.yaml