Skip to content

Conversation

@kadupoornima
Copy link
Contributor

@kadupoornima kadupoornima commented Sep 22, 2025

Disable public IP allocation by default in GKE node pools.

This is a potential security concern highlighted by the networking team. Fixed it by changing the default value of the enable_private_nodes variable in gke-node-pool module to true.

This change was tested by deploying sample blueprints, showing the VMs thus created to have no external IPs (only have internal IPs). A3M and G4 clusters were created successfully and tested before changing this default value.

Network connectivity tests were also performed to verify the deployed clusters were able to access the internet.

@kadupoornima kadupoornima requested review from a team and samskillman as code owners September 22, 2025 08:51
@kadupoornima kadupoornima added the release-breaking-changes Prevents "smooth" re-deploy across versions label Sep 22, 2025
@kadupoornima kadupoornima deleted the ip branch October 7, 2025 15:35
@kadupoornima kadupoornima restored the ip branch October 23, 2025 08:35
@kadupoornima kadupoornima reopened this Oct 23, 2025
@kadupoornima kadupoornima removed the request for review from vikramvs-gg October 23, 2025 08:40
@shubpal07 shubpal07 added the release-module-improvements Added to release notes under the "Module Improvements" heading. label Oct 24, 2025
shubpal07
shubpal07 previously approved these changes Oct 24, 2025
Copy link
Contributor

@shubpal07 shubpal07 left a comment

Choose a reason for hiding this comment

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

LGTM

@shubpal07
Copy link
Contributor

/gemini review

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 modifies the gke-node-pool module to enable private nodes by default, enhancing the security posture of GPU node pools by preventing the allocation of public IP addresses. The change involves updating the default value of the enable_private_nodes variable to true in both the README.md and variables.tf files. I have identified one issue related to the documentation in README.md that needs to be addressed.

shubpal07
shubpal07 previously approved these changes Nov 4, 2025
@shubpal07 shubpal07 self-requested a review November 4, 2025 08:14
@shubpal07
Copy link
Contributor

We need to test for other machine families as well like A3 ultra which sets nat_ip=null

@kadupoornima kadupoornima merged commit 409fce0 into GoogleCloudPlatform:develop Nov 4, 2025
26 of 64 checks passed
@kadupoornima kadupoornima deleted the ip branch November 4, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-breaking-changes Prevents "smooth" re-deploy across versions 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