Skip to content

example commit#1392

Draft
cjac wants to merge 1 commit intoGoogleCloudDataproc:mainfrom
LLC-Technologies-Collier:test-branch-20260428T071308
Draft

example commit#1392
cjac wants to merge 1 commit intoGoogleCloudDataproc:mainfrom
LLC-Technologies-Collier:test-branch-20260428T071308

Conversation

@cjac
Copy link
Copy Markdown
Contributor

@cjac cjac commented Apr 28, 2026

testing a simple commit to see if tests pass

@cjac
Copy link
Copy Markdown
Contributor Author

cjac commented Apr 28, 2026

/gcbrun

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 updates the GPU initialization action documentation to emphasize the use of automated tooling from the cloud-dataproc repository instead of manual gcloud commands. It introduces comprehensive sections on network evaluation, enhanced proxy support (including custom CA certificates), and building custom images for Secure Boot. Additionally, the metadata parameter documentation is expanded, and the tested image version matrix is updated. Reviewer feedback focuses on improving clarity by reverting node terminology, ensuring JSON examples are valid and properly placed, and maintaining consistency in metadata documentation and section headers.

Comment thread gpu/README.md
Comment on lines +5 to +6
This initialization action installs GPU driver for NVIDIA GPUs on -m node(s) and
-w nodes in a Dataproc cluster.
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.

medium

The use of -m node(s) and -w nodes is less clear for a general audience than the original master and worker nodes. While these flags are common in gcloud commands, a README file benefits from being as explicit as possible. For better readability, I recommend using the full terms master and worker.

Suggested change
This initialization action installs GPU driver for NVIDIA GPUs on -m node(s) and
-w nodes in a Dataproc cluster.
This initialization action installs GPU driver for NVIDIA GPUs on master and
worker nodes in a Dataproc cluster.

Comment thread gpu/README.md
* Copy the sample configuration: `cp env.json.sample env.json`
* Edit `env.json` to match your desired cluster setup.

**Note on JSON Examples:** Any lines in the JSON example below starting with `//` are comments for explanation and should be removed before using the JSON.
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.

medium

This note regarding JSON examples is helpful, but it is located very far from the JSON example it refers to (around line 308). This could be confusing for readers. It would improve clarity to move this note to directly precede the relevant JSON code block.

Comment thread gpu/README.md

* **Configuration:** Use the `http-proxy`, `https-proxy`, or `proxy-uri` metadata to specify your proxy server (host:port).
* **Custom CA Certificates:** If your proxy uses a custom CA (e.g., self-signed), provide the CA certificate in PEM format via the `http-proxy-pem-uri` metadata (as a `gs://` path).
* **Integrity Check:** Optionally, provide the SHA256 hash of the PEM file via `http-proxy-pem-sha256` to ensure the downloaded file is correct.
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.

medium

This section introduces the http-proxy-pem-sha256 metadata parameter. For consistency and discoverability, this new parameter should also be documented in the main 'Metadata Parameters' list (around line 202).

Comment thread gpu/README.md
Comment on lines +317 to +323
// Add these for a private, proxied environment
"PRIVATE_RANGE": "10.43.79.0/24",
"SWP_RANGE": "10.44.79.0/24",
"SWP_IP": "10.43.79.245",
"SWP_PORT": "3128",
"SWP_HOSTNAME": "swp.your-project.example.com"
// ... other variables as needed
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.

medium

The JSON example provided contains comments, which makes it invalid and prevents users from copying and pasting it directly. While there is a note about this earlier in the document, it's best practice to provide valid code snippets. Please consider moving the explanatory comments into the surrounding text to make the JSON block valid.

Suggested change
// Add these for a private, proxied environment
"PRIVATE_RANGE": "10.43.79.0/24",
"SWP_RANGE": "10.44.79.0/24",
"SWP_IP": "10.43.79.245",
"SWP_PORT": "3128",
"SWP_HOSTNAME": "swp.your-project.example.com"
// ... other variables as needed
"PRIVATE_RANGE": "10.43.79.0/24",
"SWP_RANGE": "10.44.79.0/24",
"SWP_IP": "10.43.79.245",
"SWP_PORT": "3128",
"SWP_HOSTNAME": "swp.your-project.example.com"

Comment thread gpu/README.md
bash bin/create-dpgce-private
```

**Verification:**
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.

medium

There appears to be a duplicate 'Verification' section. Here it is formatted as bold text, while on line 341 it's a level-3 header (### Verification). This is structurally inconsistent and could be confusing. To improve the document's structure, consider changing this to a sub-header, such as #### Verification.

Suggested change
**Verification:**
#### Verification:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant