Skip to content

Replace E2 VMs with N4 across example blueprints#5406

Merged
SwarnaBharathiMantena merged 7 commits into
GoogleCloudPlatform:developfrom
mufaqam-gcl:fix/e2-n4
Mar 27, 2026
Merged

Replace E2 VMs with N4 across example blueprints#5406
SwarnaBharathiMantena merged 7 commits into
GoogleCloudPlatform:developfrom
mufaqam-gcl:fix/e2-n4

Conversation

@mufaqam-gcl

@mufaqam-gcl mufaqam-gcl commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Submission Checklist

Replace E2 VMs with N4 (Gen4) for system nodepool machines across the following files:

  1. examples/gke-a3-ultragpu/gke-a3-ultragpu.yaml
  2. examples/gke-a4/gke-a4.yaml
  3. examples/gke-a4x-max-bm/gke-a4x-max-bm.yaml
  4. examples/gke-a4x/gke-a4x.yaml
  5. examples/gke-consumption-options/dws-flex-start-queued-provisioning/gke-a3-ultragpu.yaml
  6. examples/gke-consumption-options/dws-flex-start/gke-a3-ultragpu.yaml
  7. examples/gke-g4/gke-g4.yaml
  8. examples/gke-h4d/gke-h4d.yaml
  9. tools/cloud-workstations/README.md
  10. community/front-end/ofe/tf/variables.tf
  11. community/examples/flux-framework/flux-cluster.yaml
  12. community/examples/client-google-cloud-storage.yaml
  13. community/front-end/ofe/tf/README.md
  14. examples/gke-a3-highgpu-inference-gateway.yaml
  15. community/examples/slurm-gke/slurm-gke.yaml
  16. community/examples/hpc-slinky/hpc-slinky.yaml
  17. community/examples/xpk-n2-filestore/xpk-n2-filestore.yaml
  18. modules/compute/resource-policy/README.md
  19. community/modules/scheduler/slinky/README.md
  20. tools/cloud-build/daily-tests/builds/slinky.yml
  21. tools/validate_configs/test_configs/2filestore-4instances.yaml
  22. tools/cloud-build/daily-tests/builds/ml-gke.yaml
  23. tools/cloud-build/daily-tests/builds/gke-inactive-reservation.yaml
  24. tools/validate_configs/test_configs/complex-data.yaml
  25. tools/cloud-build/daily-tests/builds/ml-gke-e2e.yaml
  26. tools/cloud-build/daily-tests/builds/gke-managed-lustre.yaml
  27. tools/cloud-build/daily-tests/builds/gke-a3-highgpu.yaml
  28. tools/cloud-build/daily-tests/builds/gke-a3-megagpu.yaml
  29. tools/cloud-build/daily-tests/builds/gke-h4d-onspot.yaml
  30. tools/cloud-build/daily-tests/builds/gke-a4-onspot.yaml
  31. tools/cloud-build/daily-tests/builds/gke-a3-megagpu-onspot.yaml
  32. tools/cloud-build/daily-tests/builds/gke-a3-highgpu-onspot.yaml
  33. tools/cloud-build/daily-tests/builds/gke-a3-ultragpu-onspot.yaml
  34. tools/cloud-build/daily-tests/builds/gke-a2-highgpu-kueue-onspot.yaml
  35. tools/validate_configs/test_configs/debian-ss.yaml
  36. tools/validate_configs/test_configs/centos8-ss.yaml
  37. tools/validate_configs/test_configs/rocky-ss.yaml
  38. tools/validate_configs/test_configs/hpc-centos-ss.yaml
  39. tools/validate_configs/test_configs/simple-startup.yaml
  40. tools/cloud-build/daily-tests/builds/gke.yaml
  41. tools/validate_configs/test_configs/startup-options.yaml
  42. tools/cloud-build/daily-tests/builds/gke-managed-hyperdisk.yaml
  43. tools/validate_configs/test_configs/hpc-cluster-simple.yaml
  44. tools/validate_configs/test_configs/ubuntu-ss.yaml
  45. tools/cloud-build/daily-tests/builds/gke-g4.yaml
  46. tools/cloud-build/daily-tests/builds/gke-h4d.yaml
  47. tools/cloud-build/daily-tests/builds/gke-a4x.yaml
  48. tools/cloud-build/daily-tests/builds/gke-storage.yaml
  49. tools/validate_configs/test_configs/instance-with-startup.yaml
  50. tools/cloud-build/daily-tests/builds/gke-a3-ultragpu.yaml

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request upgrades the default machine type for system nodepools in several GKE example configurations from the E2 series to the newer N4 series. This change aims to leverage the benefits of the N4 (Generation 4) VMs, which typically offer improved performance and efficiency, ensuring that the example blueprints utilize more current and optimized infrastructure.

Highlights

  • VM Machine Type Upgrade: Replaced E2 series virtual machines with N4 (Generation 4) series virtual machines for system nodepools across multiple GKE example blueprints.
  • Blueprint Updates: Updated eight GKE example blueprint YAML files to reflect the new N4 machine type for system nodepools.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mufaqam-gcl mufaqam-gcl added the release-bugfix Added to release notes under the "Bug fixes" heading. label Mar 25, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the system_node_pool_machine_type in various GKE example configurations from "e2-standard-16" to "n4-standard-4". The review feedback highlights that this change significantly reduces the resources allocated to the system node pool, which could lead to cluster instability or performance issues for high-performance workloads. It is recommended to use "n4-standard-16" to maintain comparable resource levels.

Comment thread examples/gke-a3-ultragpu/gke-a3-ultragpu.yaml Outdated
Comment thread examples/gke-a4/gke-a4.yaml Outdated
Comment thread examples/gke-a4x-max-bm/gke-a4x-max-bm.yaml Outdated
Comment thread examples/gke-a4x/gke-a4x.yaml Outdated
Comment thread examples/gke-consumption-options/dws-flex-start/gke-a3-ultragpu.yaml Outdated
Comment thread examples/gke-g4/gke-g4.yaml Outdated
Comment thread examples/gke-h4d/gke-h4d.yaml Outdated

@SwarnaBharathiMantena SwarnaBharathiMantena left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are a few more files which need the same update. Can you please add them too?

@mufaqam-gcl mufaqam-gcl marked this pull request as ready for review March 26, 2026 07:06
@mufaqam-gcl mufaqam-gcl requested review from a team and samskillman as code owners March 26, 2026 07:06
@SwarnaBharathiMantena SwarnaBharathiMantena merged commit 83420fb into GoogleCloudPlatform:develop Mar 27, 2026
13 of 70 checks passed
FIoannides pushed a commit to FIoannides/cluster-toolkit that referenced this pull request Mar 27, 2026
…#5406)

Co-authored-by: Swarna Bharathi Mantena <swarnabm@google.com>
aslam-quad added a commit that referenced this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-bugfix Added to release notes under the "Bug fixes" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants