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

Add max_pods_per_node for GKE cluster and nodepool #3197

Merged

Conversation

pawloch00
Copy link
Contributor

@pawloch00 pawloch00 commented Oct 31, 2024

Submission Checklist

Aim of this PR is to allow specifying max_pods_per node in GKE cluster and node pool. The change is introduced so user can specify number of pods per node and meet network requirements in specific cases.

Manual tests:

  • specify default_max_pods_per_node and max_pods_per_node in cluster and check if it is applied
  • specify default_max_pods_per_node and networking_mode to ROUTES and check if precondition fails

Please take the following actions before submitting this pull request.

  • Fork your PR branch from the Toolkit "develop" branch (not main)
  • Test all changes with pre-commit in a local branch #
  • Confirm that "make tests" passes all tests
  • Add or modify unit tests to cover code changes
  • Ensure that unit test coverage remains above 80%
  • Update all applicable documentation
  • Follow Cluster Toolkit Contribution guidelines #

Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
@pawloch00 pawloch00 marked this pull request as ready for review November 4, 2024 08:58
@pawloch00 pawloch00 changed the base branch from main to develop November 4, 2024 11:42
@cdunbar13 cdunbar13 requested a review from ankitkinra November 4, 2024 16:57
@pawloch00 pawloch00 marked this pull request as draft November 4, 2024 21:22
@pawloch00 pawloch00 added the enhancement New feature or request label Nov 4, 2024
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
@pawloch00 pawloch00 requested a review from sharabiani November 5, 2024 06:54
@pawloch00 pawloch00 marked this pull request as ready for review November 5, 2024 06:57
@pawloch00 pawloch00 added the release-improvements Added to release notes under the "Improvements" heading. label Nov 5, 2024
modules/compute/gke-node-pool/README.md Outdated Show resolved Hide resolved
modules/scheduler/gke-cluster/main.tf Outdated Show resolved Hide resolved
modules/scheduler/gke-cluster/variables.tf Outdated Show resolved Hide resolved
modules/scheduler/gke-cluster/main.tf Outdated Show resolved Hide resolved
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
modules/compute/gke-node-pool/main.tf Outdated Show resolved Hide resolved
modules/scheduler/gke-cluster/variables.tf Outdated Show resolved Hide resolved
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
@pawloch00 pawloch00 requested a review from sharabiani November 8, 2024 11:42
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
Signed-off-by: Piotr Pawłowski <ppawl@google.com>
@pawloch00 pawloch00 merged commit 7644db7 into GoogleCloudPlatform:develop Nov 19, 2024
8 of 56 checks passed
@pawloch00 pawloch00 deleted the ppawl-max-pods-per-node branch November 19, 2024 13:17
@ighosh98 ighosh98 mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release-improvements Added to release notes under the "Improvements" heading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants