-
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(main): take node_config_defaults
out of beta
#2098
feat(main): take node_config_defaults
out of beta
#2098
Conversation
`node_config_defaults` is GA in all our supported versions
731139f
to
578d8eb
Compare
/gcbrun |
|
||
node_pool_defaults { | ||
node_config_defaults { | ||
} |
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.
Note: this is obviously useless as it is. but idea is to pave the way for #2082 once some of the other upstream issues are resolved.
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.
Yup, I'm also interested in the "test coverage". The alternative would be to make this a dynamic block.
Interesting
|
@apeabody may be related: GoogleCloudPlatform/magic-modules#11688 (except that is for (which is potentially my fault originally 😅, and which also maybe ties into GoogleCloudPlatform/magic-modules#11717 as well). I can take a look to see if If it can safely be made optional, that may help with this issue. |
As a potential workaround, making |
I've thought about this. Maybe you can find out more internally within Google, but I think (just based on the announcement that came out) there is a plan to flop the default here, so there are a few things that may be at odds here
I kind of feel like at the point where the default becomes to disable this by default in new cluster or cluster versions, it may just create clutter in the module to have the config set explicitly, and in that case, making the cluster more easily take the computed default vs. setting it explicitly might be best / simplest? In my tests, with >= 6.2, if I'd already set the parameter out of band, the provider did the right thing and pulled the existing value (for |
I'd be Ok with just closing this PR for now, and then revisiting this and / or #2082 once the various upstream PRs mentioned above are dispositioned one way or another. (esp. since the one bumping GCFS to GA will also change things anyway, assuming we update to a version that includes that change) |
/gcbrun |
Not sure how you want to proceed with this one... I think we'll sort of need it as part of #2013? Maybe could just close this and you can call out the other change in an extra message in the commit body when merging #2013 if needed? semi-related side note: the GCFS change is also now merged, so that should come out I'd think in 6.5.0. |
Sure - That's fine if you want to combine into a single PR. It will be a breaking change, so I want to hold on merging those anyway for another week or so. |
Just to make sure we're talking about the same thing: the GCFS one, I wouldn't do as part of this or that (since it'll likely require 6.5.0, 6.6.0 or something), but I guess what I meant is, the change that's in this PR is, I think already more or less builtin to #2013 even as it is, since I had to move the GA / beta gate around there already. We were originally trying to make this a separate change As long as the versions we have there don't have the bug with an empty |
Yeah, I recall the intention of splitting was to try and merge sooner. But then we discovered it isn't quite out of beta yet, so I think we are good for now! |
node_config_defaults
is GA in all our supported versionsRan into some issues building it (see #2097), now resolved.
Edit:
gcfs
still is not (GoogleCloudPlatform/magic-modules#11542), though, so I left that gated still for now, but put it around a smaller block so that it's possible to add other things inside this block (see #2082)I know there was a bug with the empty
node_config_defaults
block somewhere, though, @apeabody