Skip to content

Improve GitLab Runner integration tests for the k8s executor

Description

At the moment, the integration tests for the executorkubernetes only run the linux friendly systems. This comes with the disadvantages that changes made are not tested against a cluster with Windows node (ltsc2019 or ltsc2022).

In order to improve this, the integration tests can be upgraded so that they now run on a GKE cluster having the needed node pools. This issue can also be considered as the 1st iteration of the wide goal which is dogfooding the Kubernetes executor

This issue can be used a SSOT for discussion WRT how to actually implement the solution.

Proposal

My initial thought was to create a dedicated GKE cluster that can be used to run the k8s integration tests and also run some jobs requiring the executorkubernetes

This cluster needs to have three distinct node pools:

  • Linux
  • Windows LTSC2019
  • Windows LTSC2022

Here is a quick README on how to create a GKE Cluster using gcloud CLI

Links to related issues and merge requests / references

https://gitlab.com/gitlab-com/ops-sub-department/section-ops-request-for-help/-/issues/173

gitlab-org/ci-cd/runner-tools&1

/cc @gitlab-com/runner-group/core

Edited by Axel von Bertoldi