You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop regional scope, randomize global bucket name. (#1103)
This eliminates the ability to specify a regional scope for workqueue,
regional-go-reconciler, and the associated dashboards.
This also shifts the (now) solve GCS bucket to use a randomized suffix
to reduce the possibility of collisions given the global namespace of
GCS buckets.
This change is technically lossy as it deletes the live GCS bucket
backing the workqueue and replaces it.
However, the nature of workqueues is that you can "resync" (e.g.
backstop) and recover from any lost data (the K8s equivalent is a
controller restart, this is why controllers resync at startup).
I applied this to multiple reconcilers in my dev environment without any
TF issues.
---------
Signed-off-by: Matt Moore <[email protected]>
Co-authored-by: octo-sts[bot] <157150467+octo-sts[bot]@users.noreply.github.com>
| <a name="input_name"></a> [name](#input\_name) | The name of the reconciler (base name without suffixes) | `string` | n/a | yes |
124
121
| <a name="input_notification_channels"></a> [notification\_channels](#input\_notification\_channels) | List of notification channels for alerts | `list(string)` | `[]` | no |
125
122
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The GCP project ID | `string` | n/a | yes |
126
-
| <a name="input_scope"></a> [scope](#input\_scope) | The scope of the workqueue (regional or global) | `string` | `"global"` | no |
| <a name="input_service_name"></a> [service\_name](#input\_service\_name) | The name of the reconciler service (defaults to name-rec) | `string` | `""` | no |
129
125
| <a name="input_workqueue_name"></a> [workqueue\_name](#input\_workqueue\_name) | The name of the workqueue (defaults to name-wq) | `string` | `""` | no |
Copy file name to clipboardExpand all lines: modules/dashboard/workqueue/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,6 @@ No resources.
75
75
| <aname="input_labels"></a> [labels](#input\_labels)| Additional labels to apply to the dashboard |`map(string)`|`{}`| no |
76
76
| <aname="input_max_retry"></a> [max\_retry](#input\_max\_retry)| The maximum number of retry attempts before a task is moved to the dead letter queue |`number`|`100`| no |
77
77
| <aname="input_name"></a> [name](#input\_name)| Name of the workqueue |`string`| n/a | yes |
78
-
| <aname="input_scope"></a> [scope](#input\_scope)| The scope of the workqueue: 'regional' or 'global' |`string`|`"regional"`| no |
| <aname="input_reconciler-service"></a> [reconciler-service](#input\_reconciler-service)| The name of the reconciler service that the workqueue will dispatch work to. | <pre>object({<br/> name = string<br/> })</pre> | n/a | yes |
210
205
| <aname="input_regions"></a> [regions](#input\_regions)| A map from region names to a network and subnetwork. A service will be created in each region configured to egress the specified traffic via the specified subnetwork. | <pre>map(object({<br/> network = string<br/> subnet = string<br/> }))</pre> | n/a | yes |
211
-
| <aname="input_scope"></a> [scope](#input\_scope)| The scope of the workqueue: 'regional' for region-specific workqueues or 'global' for a single multi-regional workqueue. |`string`|`"global"`| no |
206
+
| <aname="input_scope"></a> [scope](#input\_scope)| The scope of the workqueue. Must be 'global' for a single multi-regional workqueue. |`string`|`"global"`| no |
212
207
| <aname="input_squad"></a> [squad](#input\_squad)| squad label to apply to the service. |`string`| n/a | yes |
0 commit comments