grafana / beyla

eBPF-based autoinstrumentation of web applications and network metrics
https://grafana.com/oss/beyla-ebpf/
Apache License 2.0
1.19k stars 77 forks source link

Shorten K8s integration tests time #749

Closed mariomac closed 4 weeks ago

mariomac commented 4 weeks ago

Docker compose uses the local docker image repository, so it will reuse images with the same tag across tests.

However, Kind uses its own image repository. Since each test suite destroys and recreates the Kind cluster, it was spending ~1 extra minute downloading images for each test suite.

This PR transfers the images from the local docker to kind, before deploying any manifest.

It also unifies the versions of some external components (prometheus, otelcol...) to minimize the number of images to download.

grcevski commented 4 weeks ago

The distributed traces test seems flaky now. I'm guessing it's because of NodeJS, since we don't deal well with the event loop.