Skip to content

Make waiting for kueue installation configurable, and wait for kueue in the G4 GKE blueprint#4973

Merged
kadupoornima merged 3 commits intoGoogleCloudPlatform:developfrom
kadupoornima:kueue
Dec 10, 2025
Merged

Make waiting for kueue installation configurable, and wait for kueue in the G4 GKE blueprint#4973
kadupoornima merged 3 commits intoGoogleCloudPlatform:developfrom
kadupoornima:kueue

Conversation

@kadupoornima
Copy link
Copy Markdown
Contributor

@kadupoornima kadupoornima commented Dec 10, 2025

Made the wait parameter in kueue installation configurable. Updated the GKE G4 blueprint to explicitly set wait: true for Kueue installation, allowing the deployment process to pause until Kueue is fully ready.

GKE G4 daily test was failing when attempting to submit a Kubernetes job, specifically encountering an Internal Server Error (HTTP 500) caused by a broken admission webhook. The test had succeeded after 1 retry attempt.

This PR fixes the probable root cause.

Manual cluster creation and deletion were successfully tested with this change.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @kadupoornima, 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 enhances the GKE G4 blueprint by introducing a configurable 'wait' option for Kueue installations. This ensures that the deployment workflow can reliably depend on Kueue being fully operational before proceeding with subsequent steps. Additionally, it provides concrete example values for the GKE G4 deployment configuration, which will aid in quicker setup and validation.

Highlights

  • Kueue Installation Wait Parameter: Introduced a new wait parameter for Kueue installations, allowing the deployment process to pause until Kueue is fully ready.
  • GKE G4 Blueprint Configuration: Updated the GKE G4 blueprint to explicitly set wait: true for Kueue installation, ensuring proper initialization.
  • Module Variable Definition: Modified the kubectl-apply module to accept and utilize the wait parameter for Kueue, making the behavior configurable.
  • Example Deployment Values: Populated various example variables in gke-g4-deployment.yaml for easier testing and demonstration of the GKE G4 blueprint.
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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

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.

Copy link
Copy Markdown
Contributor

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

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 adds a wait=true option for the Kueue installation, ensuring that subsequent steps only proceed after Kueue is fully ready. The implementation correctly adds the wait parameter to the kueue variable, passes it to the Helm installation module, and updates the example blueprint. My review includes feedback on improving documentation for the new parameter and addressing a security concern and hardcoded values in the example deployment file.

@kadupoornima kadupoornima changed the title Set `wait=true for kueue installation in G4 GKE blueprint. Set wait=true for kueue installation in G4 GKE blueprint. Dec 10, 2025
@kadupoornima kadupoornima changed the title Set wait=true for kueue installation in G4 GKE blueprint. Set "wait=true" for kueue installation in G4 GKE blueprint. Dec 10, 2025
@kadupoornima kadupoornima added the release-bugfix Added to release notes under the "Bug fixes" heading. label Dec 10, 2025
@kadupoornima kadupoornima force-pushed the kueue branch 3 times, most recently from d370a32 to 9cde6ce Compare December 10, 2025 07:21
@kadupoornima kadupoornima added release-improvements Added to release notes under the "Improvements" heading. release-module-improvements Added to release notes under the "Module Improvements" heading. labels Dec 10, 2025
@kadupoornima kadupoornima marked this pull request as ready for review December 10, 2025 10:09
@kadupoornima kadupoornima requested review from a team and samskillman as code owners December 10, 2025 10:09
@kadupoornima kadupoornima force-pushed the kueue branch 2 times, most recently from d14e334 to f6cdfc5 Compare December 10, 2025 10:20
@kadupoornima kadupoornima changed the title Set "wait=true" for kueue installation in G4 GKE blueprint. Make waiting for kueue installation configurable and set wait for kueue in the G4 GKE blueprint Dec 10, 2025
@kadupoornima kadupoornima changed the title Make waiting for kueue installation configurable and set wait for kueue in the G4 GKE blueprint Make waiting for kueue installation configurable, and wait for kueue in the G4 GKE blueprint Dec 10, 2025
Copy link
Copy Markdown
Contributor

@SwarnaBharathiMantena SwarnaBharathiMantena left a comment

Choose a reason for hiding this comment

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

I think, ideally we should keep the actual terraform module default same on our end too.

The default is True on the actual terraform module - https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release#wait-1

Due to some testing results earlier, we set the default to False. In case we see value in it, we can reset it in future.

@kadupoornima kadupoornima merged commit 167c1d0 into GoogleCloudPlatform:develop Dec 10, 2025
11 of 70 checks passed
@kadupoornima kadupoornima deleted the kueue branch December 10, 2025 12:47
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. release-improvements Added to release notes under the "Improvements" heading. release-module-improvements Added to release notes under the "Module Improvements" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants