headlamp icon indicating copy to clipboard operation
headlamp copied to clipboard

github: Replace minikube with kind in CI

Open skoeva opened this issue 10 months ago • 1 comments

This change replaces the use of minikube in the Build Container and test / build discover and deploy workflow with the use of kind. We estimate 60% decrease in run time on a cold run for the "Start Cluster" step of 1 minute (from ~1m50s to ~45s). Even with a cached image for the minikube run, we estimate a 25% decrease in run time (from ~1m to ~45s). This should speed up CI workflows for future changes.

Fixes: #1746

Testing

  • [ ] Run Build Container workflow locally and ensure tests pass
  • [ ] Build Headlamp images in a local kind cluster
  • [ ] Apply deployment manifests and configure Headlamp credentials
  • [ ] Run e2e playwright tests against the local Headlamp instance

skoeva avatar Apr 03 '24 14:04 skoeva

Nice work, I see it's faster with starting the cluster. I also see some things are cached.

kind

image

minikube

image

illume avatar Jun 28 '24 08:06 illume