-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 support for new flags in node_kubelet_config. #12686
base: main
Are you sure you want to change the base?
Conversation
The new flags include: * container_log_max_size * container_log_max_files * image_gc_low_threshold_percent * image_gc_high_threshold_percent * image_minimum_gc_age * image_maximum_gc_age * allowed_unsafe_sysctls Change-Id: If4be953da244d4c2b7a58a3d0cb958720a1eb609
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: 0 Click here to see the affected service packages
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR. View the build log |
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.
Build failed.
# github.com/hashicorp/terraform-provider-google-beta/google-beta/services/container [github.com/hashicorp/terraform-provider-google-beta/google-beta/services/container.test]
google-beta/services/container/node_config.go:1300:11: kConfig.ContainerLogMaxSize undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ContainerLogMaxSize)
google-beta/services/container/node_config.go:1303:11: kConfig.ContainerLogMaxFiles undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ContainerLogMaxFiles)
google-beta/services/container/node_config.go:1306:11: kConfig.ImageGcLowThresholdPercent undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ImageGcLowThresholdPercent)
google-beta/services/container/node_config.go:1309:11: kConfig.ImageGcHighThresholdPercent undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ImageGcHighThresholdPercent)
google-beta/services/container/node_config.go:1312:11: kConfig.ImageMinimumGcAge undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ImageMinimumGcAge)
google-beta/services/container/node_config.go:1315:11: kConfig.ImageMaximumGcAge undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ImageMaximumGcAge)
google-beta/services/container/node_config.go:1319:11: kConfig.allowedUnsafeSysctls undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method allowedUnsafeSysctls)
google-beta/services/container/node_config.go:1321:12: kConfig.AllowedUnsafeSysctls undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method AllowedUnsafeSysctls)
google-beta/services/container/node_config.go:1903:48: c.ContainerLogMaxSize undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ContainerLogMaxSize)
google-beta/services/container/node_config.go:1904:48: c.ContainerLogMaxFiles undefined (type *"google.golang.org/api/container/v1beta1".NodeKubeletConfig has no field or method ContainerLogMaxFiles)
google-beta/services/container/node_config.go:1904:48: too many errors
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: 0 Click here to see the affected service packages
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR. View the build log |
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.
Error: google/services/container/node_config.go:1246:11: kConfig.ContainerLogMaxSize undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ContainerLogMaxSize)
Error: google/services/container/node_config.go:1249:11: kConfig.ContainerLogMaxFiles undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ContainerLogMaxFiles)
Error: google/services/container/node_config.go:1252:11: kConfig.ImageGcLowThresholdPercent undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ImageGcLowThresholdPercent)
Error: google/services/container/node_config.go:1255:11: kConfig.ImageGcHighThresholdPercent undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ImageGcHighThresholdPercent)
Error: google/services/container/node_config.go:1258:11: kConfig.ImageMinimumGcAge undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ImageMinimumGcAge)
Error: google/services/container/node_config.go:1261:11: kConfig.ImageMaximumGcAge undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ImageMaximumGcAge)
Error: google/services/container/node_config.go:1265:11: kConfig.allowedUnsafeSysctls undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method allowedUnsafeSysctls)
Error: google/services/container/node_config.go:1267:12: kConfig.AllowedUnsafeSysctls undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method AllowedUnsafeSysctls)
Error: google/services/container/node_config.go:1763:48: c.ContainerLogMaxSize undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ContainerLogMaxSize)
Error: google/services/container/node_config.go:1764:48: c.ContainerLogMaxFiles undefined (type *"google.golang.org/api/container/v1".NodeKubeletConfig has no field or method ContainerLogMaxFiles)
Error: google/services/container/node_config.go:1764:48: too many errors
@modular-magician reassign-reviewer |
Reassign the reviewer during my OOO |
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.
It doesn't look like these fields are currently supported https://pkg.go.dev/google.golang.org/[email protected]/container/v1beta1#NodeKubeletConfig.
@VeraQin, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
I find these new fields are already available in container api https://github.com/googleapis/google-api-go-client/blob/main/container/v1/container-api.json (same for v1beta1), why does the build still fails? |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: 0 Click here to see the affected service packages
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR. View the build log |
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.
I find these new fields are already available in container api googleapis/google-api-go-client@
main
/container/v1/container-api.json (same for v1beta1), why does the build still fails?
Looks like these changes are added 4 days ago and haven't been release yet - the latest version v0.219.0 was released earlier.
Once the new version containing the features is released, you'll need to create a PR to update the dependency to the latest version and get it merge first. After that, the build for this PR should no longer fail.
The new flags include:
Change-Id: If4be953da244d4c2b7a58a3d0cb958720a1eb609
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.