Skip to content

Make k6-curl container resources configurable #502

@NT-florianernst

Description

@NT-florianernst

Feature Description

Hello all,

in our clusters we have team namespaces configured with a LimitRange specifying a maxLimitRequestRatio of 5, cf. OpenShift Container Limits.

However, it seems the k6-operator hardcodes a memory ratio of 100, cf. pkg/resources/containers/curl_start.go (209715200 for limits and 2097152 for requests), and as a result the starter pod cannot start in our team namespaces.

Please make these resources actually configurable. The TestRun CRD already allows setting the resources, but they are not used.

Thanks for considering,
Flo

Suggested Solution (optional)

Most probably a structure similar to handling the Runner resources can be used.

Already existing or connected issues / PRs (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions