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 initial_node_count var for node_pool block #60

Merged
merged 2 commits into from
Jan 10, 2019

Conversation

mkubaczyk
Copy link
Contributor

Hi,

I wanted to extend the node_pool block parameters a bit and add optional, explicitly set initial_node_count for node pool. It assumes the min_count or 1 when not defined, so it doesn't affect anyone when not set.
We need this to start new node pool with predefined node count even when autoscaling minimal value is set lower, useful especially when adding new node pool as a reaction to increased traffic etc.

I added no tests. If there's anyone willing to write them since I haven't had a chance yet, please don't hesitate.

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

LGTM, can merge once tests pass.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

Just one small change.

Also looks like this is causing tests of fail.

@Jberlinsky
Copy link
Contributor

Jberlinsky commented Jan 9, 2019

Test failures should be resolved by #62

morgante
morgante previously approved these changes Jan 9, 2019
Copy link
Contributor

@aaron-lane aaron-lane left a comment

Choose a reason for hiding this comment

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

This needs to be rebased against master now that #62 is merged.

@mkubaczyk
Copy link
Contributor Author

@aaron-lane done

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@morgante morgante merged commit a0cfbae into terraform-google-modules:master Jan 10, 2019
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
Add initial_node_count var for node_pool block
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