Skip to content

chore(ci): freeing up resources to run e2e tests on nested clusters#2007

Open
universal-itengineer wants to merge 5 commits intomainfrom
chore/ci/nightly-e2e-get-resources
Open

chore(ci): freeing up resources to run e2e tests on nested clusters#2007
universal-itengineer wants to merge 5 commits intomainfrom
chore/ci/nightly-e2e-get-resources

Conversation

@universal-itengineer
Copy link
Member

@universal-itengineer universal-itengineer commented Feb 17, 2026

Description

To successfully run e2e tests in nested clusters, the cluster must have sufficient resources. Therefore, before deploying nested clusters, some virtual machines must be shut down to free up resources.
In the nightly-e2e-* and static-cse namespaces, virtual machines will not be shut down.
Also exclude VMs with label e2e-cluster/do-not-stop-vm-on-e2e-run

Turning off virtual machines is done by setting the runPolicy parameter to AlwaysOff

kubectl patch vm -n "$ns" "$name" --type=merge -p '{"spec":{"runPolicy":"AlwaysOff"}}'

Why do we need it, and what problem does it solve?

To successfully pass e2e tests on nested clusters, free resources are needed in the cluster.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: ci
type: chore
summary: freeing up resources to run e2e tests on nested clusters

@universal-itengineer universal-itengineer force-pushed the chore/ci/nightly-e2e-get-resources branch 2 times, most recently from 0765429 to 7984550 Compare February 18, 2026 07:50
@universal-itengineer universal-itengineer added this to the v1.6.0 milestone Feb 18, 2026
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the chore/ci/nightly-e2e-get-resources branch from 7984550 to 1ec22a0 Compare February 18, 2026 09:11
@universal-itengineer universal-itengineer marked this pull request as ready for review February 18, 2026 09:19
universal-itengineer and others added 4 commits February 18, 2026 14:32
Co-authored-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
Co-authored-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants