-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: Add support for CPU quota configs for node pools #1032
Conversation
Thanks for the PR! 🚀 |
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 contribution! Do you mind adding this to one of the examples/tests?
2f367e9
to
c5cd558
Compare
@morgante Thank you for reviewing! I added in a test as requested, but I have a question. There's a note on the Terraform Google provider docs that says:
My understanding is if the user wants |
It's also not clear to me why the build is failing. Seems like #1035 was facing the same issue but approved anyway? |
Yes, I think your understanding is correct and the implementation you have (conditionally generating the block) is the right workaround.
It's an unrelated issue, we can ignore that test failure. |
Add support for setting CPU limits on pods and reallocation intervals as
cpu_cfs_quota
andcpu_cfs_quota_period
underkubelet_config
for node pools.Issue reference: #962.