(GKE) Remove ML Diagnostics module - #5748
Conversation
Summary of ChangesHello, 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 streamlines the GKE ML Diagnostics configuration by deprecating the manual 'mldiagnostics' module in favor of native GKE support. The changes include renaming configuration variables for clarity and relocating test assets to improve the project structure and maintainability. Highlights
Using Gemini Code AssistThe 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
Customization To customize the 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 Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. 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
|
There was a problem hiding this comment.
Code Review
This pull request removes the manual 'mldiagnostics' module and renames 'enable_managed_ml_diagnostics' to 'enable_ml_diagnostics' across the GKE cluster module and blueprints. The documentation and tests are updated accordingly. The reviewer correctly noted that a precondition error message in 'modules/scheduler/gke-cluster/main.tf' still obsolete-ly references the deleted 'mldiagnostics' module, which should be cleaned up.
b6c606d
e17b8e2 to
b6c606d
Compare
f956d86
into
GoogleCloudPlatform:develop
Summary
With GKE-managed ML Diagnostics feature, we can configure
gke-clusterto natively install ML Diagnostics related charts for GKE version 1.35.0-gke.3065000 or higher. To simplify maintenance, this PR removes the modulemldiagnosticswhich manually installs charts.Key Changes
mldiagnosticsmodule and its associated files, as they are no longer needed.enable_managed_ml_diagnosticsto justenable_ml_diagnosticsfor a cleaner setup in thegke-clustermodule and blueprints.examples/gke-tpu-v6e/ml-diagnostics-sample-workload-test/.Usage Example
To enable GKE managed ML Diagnostics, set
enable_ml_diagnosticsto true ingke-clustermodule: