Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make reading logs by initializer a more reliable operation #193

Open
yorugac opened this issue Feb 7, 2023 · 2 comments
Open

Make reading logs by initializer a more reliable operation #193

yorugac opened this issue Feb 7, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@yorugac
Copy link
Collaborator

yorugac commented Feb 7, 2023

Envoy is not usable with cloud output when logging is enabled. See #179. It’d be good to figure out some alternative in order not to depend on logs in the initializer so much.

Context. Previously, adding k6 dependency to the operator to calculate MaxVUs and Duration was deemed as too heavy to add directly - that's how initializer job appeared. Check if that changed in recent refactoring of k6.

@yorugac
Copy link
Collaborator Author

yorugac commented Mar 31, 2023

Additionally, k6 Operator is not usable in some specific cases of k6 scripts. It was reported in #207 and see explanation here.

k6 docs about k6 archive, k6 inspect and k6 cloud behaving differently than k6 run around env vars:
https://k6.io/docs/using-k6/environment-variables/

It's a bit of mess of inconsistent behaviour. It'd be good to have a generalized solution to this, in order not to stumble over k6 exceptions.

@yorugac
Copy link
Collaborator Author

yorugac commented Jan 12, 2024

The same problem can manifest even without cloud output but in any scenario when there is another process writing to the output of the initializer Pod. Which sounds a bit strange at first glance but it does happen, case in study:
https://community.grafana.com/t/k6-operator-error-not-spawning-starter-and-basic-resources/110778/19

Renaming the issue to reflect new reality.

@yorugac yorugac changed the title Cloud output: make reading logs by initializer a more "secure" operation Make reading logs by initializer a more reliable operation Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant