grafana / xk6-kubernetes

Client extension for interacting with Kubernetes clusters from your k6 tests.
Apache License 2.0
62 stars 20 forks source link

Wait for ephemeral container to be ready #60

Closed pablochacin closed 2 years ago

pablochacin commented 2 years ago

Trying to execute a command in an ephemeral container immediately after creating it may fail with the error ERRO[0000] GoError: unable to upgrade connection: container not found ("k6-chaos") . It would be convenient adding an option for waiting the ephemeral container to be ready.