-
Notifications
You must be signed in to change notification settings - Fork 910
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 settings for autoscaling to Bigtable module. #1006
Conversation
At the moment If not wrong: if the user relies on module defaults, an instance with unset num_nodes will be created (suggested for DEV). I would improve the num_nodes description suggesting to set num_nodes > 0 or set the auto_scaling variable for a prod env. |
If not I have added some more remarks about this situation in the documentation. |
I see. In this case, the user has to set an optional variable otherwise the module won't work. What about having a logic to not set |
num_nodes = null requires a I suggest do one of the following:
In both ways the user can have a simple deployment just settings mandatory attributes. |
I have implemented the first option in commit 5d38e31. Thanks for the suggestions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
nice branch name |
Bigtable clusters can now autoscale, adding the corresponding settings to the
bigtable-instance
.The default
num_workers
must be set tonull
, because settingnum_workers
cannot be done at the same time as specifyingautoscaling_config
.