8000 Switch to n4-highpcu-4 instances for Felix FVs by fasaxc · Pull Request #11578 · projectcalico/calico · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@fasaxc
Copy link
Member
@fasaxc fasaxc commented Dec 17, 2025

Description

Stats report consistently low RAM usage on the tst runners, so this should save some cost.

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Stats report consistently low RAM usage on the tst runners, so
this should save some cost.
@fasaxc fasaxc requested a review from a team as a code owner December 17, 2025 17:03
Copilot AI review requested due to automatic review settings December 17, 2025 17:03
@marvin-tigera marvin-tigera added this to the Calico v3.32.0 milestone Dec 17, 2025
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Dec 17, 2025
@fasaxc fasaxc added docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact and removed release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Dec 17, 2025
Copy link
Contributor
Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes CI costs by switching Felix FV test execution from n4-standard-4 to n4-highcpu-4 GCP instance types, based on observed low RAM usage patterns in the test runners.

  • Introduces VM_MACHINE_TYPE environment variable for configurable instance types
  • Adds documentation explaining the choice of 4 vCPUs and high-CPU machine type

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
felix/.semaphore/fv-prologue Exports VM_MACHINE_TYPE=n4-highcpu-4 with explanatory comments about vCPU requirements and RAM usage patterns
.semaphore/vms/create-test-vms Updates gcloud instance creation to use configurable machine_type variable with n4-standard-4 as default for backward compatibility

@fasaxc
Copy link
Member Author
fasaxc commented Dec 17, 2025

Wow, I hit OOMs with this. One or two tests use lots of RAM, not sure why (perhaps gratuitous logging to a memory buffer?)

@fasaxc fasaxc marked this pull request as draft December 17, 2025 18:15
@fasaxc
Copy link
Member Author
fasaxc commented Dec 18, 2025

Looks like the QoS tests slurp up 4GB of BPF logs when they run at debug 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact

Projects

None yet
< 3BFC /form>

Development

Successfully merging this pull request may close these issues.

2 participants

0