Skip to content

Add integration test for gke inference blueprints for a4 and a4x#5210

Draft
Neelabh94 wants to merge 2 commits intoGoogleCloudPlatform:developfrom
Neelabh94:inference_gateway_tests
Draft

Add integration test for gke inference blueprints for a4 and a4x#5210
Neelabh94 wants to merge 2 commits intoGoogleCloudPlatform:developfrom
Neelabh94:inference_gateway_tests

Conversation

@Neelabh94
Copy link
Contributor

@Neelabh94 Neelabh94 commented Feb 7, 2026

This PR adds integration tests for the newly added a4 and a4x inference blueprints.

@Neelabh94 Neelabh94 added release-chore To not include into release notes do-not-merge Block merging of this PR test-enhancement Tests enhancement or coverage improvement labels Feb 7, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Neelabh94, 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 significantly enhances the Google Kubernetes Engine (GKE) offerings by introducing dedicated blueprints for inference gateways on A4 and A4x GPU instances. It streamlines the deployment of AI/ML inference workloads by pre-configuring essential services like workload managers and optimized storage solutions. Furthermore, it establishes a new, comprehensive integration test suite to ensure the reliability and correct functionality of these inference gateway deployments, covering resource provisioning and actual inference request validation.

Highlights

  • New GKE Inference Gateway Blueprints: Introduced new GKE Inference Gateway blueprints for both A4 and A4x GPU instances, providing optimized configurations for deploying large language model inference workloads.
  • Workload Management Integration: Integrated key workload management tools including Kueue, Jobset, and NCCL gIB plugin across both A4 and A4x blueprints. The A4x blueprint additionally includes the NVIDIA DRA driver.
  • Comprehensive Integration Testing: Added a robust integration testing framework for GKE Inference Gateway deployments. This includes an Ansible playbook to validate Kubernetes resources (vLLM Deployment, Service, InferencePool, InferenceObjective, Gateway, HTTPRoute) and perform a functional inference request.
  • Storage Benchmarking Example (A4x): The GKE A4x inference gateway blueprint now includes an example FIO benchmark job template to test storage performance against scratch, training, and checkpoint data buckets.
Changelog
  • examples/gke-a4/gke-a4-inference-gateway.yaml
    • Added a new blueprint for GKE A4 inference gateways, configuring network, service accounts, GCS buckets, GKE cluster with inference gateway enabled, A4 node pool, and installation of Kueue, Jobset, and NCCL gIB.
  • examples/gke-a4x/gke-a4x-inference-gateway.yaml
    • Added a new blueprint for GKE A4x inference gateways, including A4x specific configurations, NVIDIA DRA driver installation, and an example FIO benchmark job for storage performance testing.
  • tools/cloud-build/daily-tests/ansible_playbooks/test-validation/test-gke-inference-gateway.yml
    • Added a new Ansible playbook to validate GKE Inference Gateway deployments by checking Kubernetes resources and performing an inference request.
  • tools/cloud-build/daily-tests/builds/gke-a4-inference-gateway-test.yaml
    • Added Cloud Build configuration for the GKE A4 inference gateway integration test.
  • tools/cloud-build/daily-tests/builds/gke-a4x-inference-gateway-test.yaml
    • Added Cloud Build configuration for the GKE A4x inference gateway integration test.
  • tools/cloud-build/daily-tests/tests/gke-a4-inference-gateway-test.yml
    • Added test variables for the GKE A4 inference gateway integration test, specifying nvidia-a100-80gb accelerator and 1 GPU.
  • tools/cloud-build/daily-tests/tests/gke-a4x-inference-gateway-test.yml
    • Added test variables for the GKE A4x inference gateway integration test, specifying nvidia-gb200 accelerator and 4 GPUs.
  • tools/cloud-build/daily-tests/validate_tests_metadata.py
    • Performed a minor formatting adjustment by removing trailing whitespace in the CATEGORICAL_TAGS definition.
Activity
  • The pull request was created with a standard submission checklist, indicating the initial contribution of these new blueprints and tests.
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
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 introduces integration tests for new GKE inference blueprints for A4 and A4x GPUs. This is a valuable addition that improves test coverage for GPU-based environments.

My review has identified a few areas for improvement. Most critically, the new examples for gke-a4 and gke-a4x need to be added to the index in examples/README.md to comply with the repository's contribution guidelines (Rule 33). Additionally, there are some configuration issues in the new blueprint files, such as an incorrect default accelerator type and an expired maintenance window, which I've detailed in the review comments.

Please also consider filling out the PR description to provide more context for future reviewers.

@Neelabh94 Neelabh94 force-pushed the inference_gateway_tests branch from 0790579 to ab75b27 Compare February 8, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Block merging of this PR release-chore To not include into release notes test-enhancement Tests enhancement or coverage improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant