Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the tpu_network_optimizer image instead of a raw bash script. #870

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

darinpeetz
Copy link
Contributor

The container image contains the script, but makes future updates (if necessary) more straightforward by just pulling a new image rather than updating the sript inside the daemonset. The contents of the image also allow us to mount only /sys and /proc, instead of mounting / entirely.

The container image contains the script, but makes future updates (if
necessary) more straightforward by just pulling a new image rather than
updating the sript inside the daemonset. The contents of the image also
allow us to mount only /sys and /proc, instead of mounting / entirely.
@spencer-p
Copy link
Collaborator

Where is this image built from?

Tagging @NoahJohnson1 and @thebinaryone1 to review as they have previously worked on this.

@darinpeetz
Copy link
Contributor Author

Not sure if I'm misunderstanding your question, but the image is built internally as a distroless kubernetes container image.

@NoahJohnson1
Copy link
Contributor

Yeah this is built internally and has functionally identical script contents.

For newer versions of GKE this image and its optimization script are invoked automatically on v6e, so the intent is to update this older manual DS to be consistent with what newer GKE versions provide.

@NoahJohnson1
Copy link
Contributor

(LGTM, for the record)

@thebinaryone1 thebinaryone1 merged commit 4d63dc3 into GoogleCloudPlatform:main Nov 19, 2024
7 checks passed
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.

4 participants