-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add instance_flexibility_policy to master & worker nodes #16038
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
base: main
Are you sure you want to change the base?
Add instance_flexibility_policy to master & worker nodes #16038
Conversation
uncommenting the subnet config
This change introduces the instance_flexibility_policy block to the master_config and worker_config sections of the google_dataproc_cluster resource, allowing users to specify a ranked list of machine types.
…adding missed file
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @slevenick, 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. |
|
Attaching local test results. |
| boot_disk_size_gb = 35 | ||
| } | ||
| instance_flexibility_policy { | ||
| instance_selection_list { |
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.
Can you modify a test to specify a rank = 2 instance selection before a rank 1 one? Often we see issues when a server reorders lists based on some criteria that Terraform doesn't know about, so it's good to test that case specifically!
|
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.
Missing doc report (experimental)The following resources have fields missing in documents.
|
Tests analyticsTotal tests: 81 Click here to see the affected service packages
Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
/gcbrun |
|
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.
Missing doc report (experimental)The following resources have fields missing in documents.
|
Tests analyticsTotal tests: 81 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
slevenick
left a comment
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.
resource_dataproc_cluster_test.go:694: Step 1/1 error: Check failed: Check 1/2 error: Check 4/4 error: google_dataproc_cluster.master_instance_flexibility_policy: Attribute 'cluster_config.0.master_config.0.instance_flexibility_policy.0.instance_selection_results.0.machine_type' expected to be set
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.