qontract-reconcile 0.9.1rc223__py3-none-any.whl → 0.9.1rc224__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/RECORD +7 -7
- reconcile/cli.py +1 -1
- reconcile/terraform_cloudflare_dns.py +3 -7
- {qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.1rc224
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
@@ -16,7 +16,7 @@ reconcile/aws_iam_password_reset.py,sha256=GDoBo4VFSABgRFjEfwRXlXlNGb7beVt5pSrNr
|
|
16
16
|
reconcile/aws_support_cases_sos.py,sha256=i6bSWnlH9fh14P14PjVhFLwNl-q3fD733_rXKM_O51c,2992
|
17
17
|
reconcile/blackbox_exporter_endpoint_monitoring.py,sha256=W_VJagnsJR1v5oqjlI3RJJE0_nhtJ0m81RS8zWA5u5c,3538
|
18
18
|
reconcile/checkpoint.py,sha256=figtZRuWUvdpdSnkhAqeGvO5dI02TT6J3heyeFhlwqM,5016
|
19
|
-
reconcile/cli.py,sha256=
|
19
|
+
reconcile/cli.py,sha256=rHAMkvPwt---iPbQ2XloG7zrguvoO7Yz-0ZZiDrilwQ,72161
|
20
20
|
reconcile/closedbox_endpoint_monitoring_base.py,sha256=0xg_d8dwd36Y8GY1mE-LLO1LQpPEMM77bzAfc_KdgzU,4870
|
21
21
|
reconcile/cluster_deployment_mapper.py,sha256=2Ah-nu-Mdig0pjuiZl_XLrmVAjYzFjORR3dMlCgkmw0,2352
|
22
22
|
reconcile/dashdotdb_base.py,sha256=Ca75-OQiu5HeA8Q6zQpEYuhyCSjeuWe99K4y9ipTORM,4032
|
@@ -121,7 +121,7 @@ reconcile/sql_query.py,sha256=AtJQseNBzigiY3Ii4Je0DDBDj8sxzsCTaxLyIaXkPcU,22432
|
|
121
121
|
reconcile/status.py,sha256=tRYtzPFsGETOfN57rcsLIJRl7cZVFkfQXNsUtoeJ7ns,545
|
122
122
|
reconcile/template_tester.py,sha256=vZz8GM46waQUGd3OVnhW5OLTqctFMH_Hh1QXxT5hduM,2384
|
123
123
|
reconcile/terraform_aws_route53.py,sha256=06VIlIb95BzVkxV_1TPiaY9sQO-TkvQXL4V_qzuXxxA,9814
|
124
|
-
reconcile/terraform_cloudflare_dns.py,sha256=
|
124
|
+
reconcile/terraform_cloudflare_dns.py,sha256=AiWI4_uR4UgJ26_YMoNFAUG92Row3ne2aa5BJplqFR8,12569
|
125
125
|
reconcile/terraform_cloudflare_resources.py,sha256=BQg12mHm1iaxf086FFPZutPbWKUMaddqu-nREPR8ptA,14887
|
126
126
|
reconcile/terraform_cloudflare_users.py,sha256=lTbrxi8OtW9Pfcr7Yp-70ihldMQKx9dJ7ZgbGHey1XE,13627
|
127
127
|
reconcile/terraform_resources.py,sha256=gQ-LT0TGwf9OR4RF5EWDmNHUnKWnbhrIMtyIdUgP4D4,16782
|
@@ -514,8 +514,8 @@ tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y
|
|
514
514
|
tools/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
515
515
|
tools/test/test_qontract_cli.py,sha256=awwTHEc2DWlykuqGIYM0WOBoSL0KRnOraCLk3C7izis,1401
|
516
516
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
517
|
-
qontract_reconcile-0.9.
|
518
|
-
qontract_reconcile-0.9.
|
519
|
-
qontract_reconcile-0.9.
|
520
|
-
qontract_reconcile-0.9.
|
521
|
-
qontract_reconcile-0.9.
|
517
|
+
qontract_reconcile-0.9.1rc224.dist-info/METADATA,sha256=O_dU1aFg8s4UObH9oT92-vSuuHHWJyZvurbV4JkS8x4,2248
|
518
|
+
qontract_reconcile-0.9.1rc224.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
519
|
+
qontract_reconcile-0.9.1rc224.dist-info/entry_points.txt,sha256=3BPvsRryM1C4S_mb5kXmP5AVv-wJBzVCrOJyv6qUmc0,195
|
520
|
+
qontract_reconcile-0.9.1rc224.dist-info/top_level.txt,sha256=j0CHPIc8TsVRB50wOz_jhxjjaRyCJB3NOQeXhuHS67c,34
|
521
|
+
qontract_reconcile-0.9.1rc224.dist-info/RECORD,,
|
reconcile/cli.py
CHANGED
@@ -1693,7 +1693,7 @@ def terraform_cloudflare_resources(
|
|
1693
1693
|
@integration.command(short_help="Manage Cloudflare DNS using Terraform.")
|
1694
1694
|
@print_to_file
|
1695
1695
|
@enable_deletion(default=False)
|
1696
|
-
@threaded(default=
|
1696
|
+
@threaded(default=10)
|
1697
1697
|
@binary(["terraform"])
|
1698
1698
|
@binary_version("terraform", ["version"], TERRAFORM_VERSION_REGEX, TERRAFORM_VERSION)
|
1699
1699
|
@account_name
|
@@ -205,18 +205,14 @@ def get_cloudflare_provider_rps(
|
|
205
205
|
"""
|
206
206
|
Setting Cloudlare Terraform provider's RPS based on the size of the zone to improve performance of MR checks.
|
207
207
|
Specifically it was observed that 1000 records zone will result in around 250 seconds build time, and it become
|
208
|
-
problematic for MR merge throughput when exceeding 5 minutes. Therefore setting rps
|
209
|
-
save throttle quota, and
|
208
|
+
problematic for MR merge throughput when exceeding 5 minutes. Therefore setting rps lower for smaller zone to
|
209
|
+
save throttle quota, and higher for the large zones so MR checks won't take more than 250 seconds.
|
210
210
|
"""
|
211
211
|
|
212
212
|
if not records:
|
213
213
|
return DEFAULT_PROVIDER_RPS
|
214
214
|
size = len(records)
|
215
|
-
|
216
|
-
return 2
|
217
|
-
if size <= 1000:
|
218
|
-
return DEFAULT_PROVIDER_RPS
|
219
|
-
return 6
|
215
|
+
return min(-(-size // 50), DEFAULT_PROVIDER_RPS)
|
220
216
|
|
221
217
|
|
222
218
|
def create_backend_config(
|
File without changes
|
{qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/entry_points.txt
RENAMED
File without changes
|
{qontract_reconcile-0.9.1rc223.dist-info → qontract_reconcile-0.9.1rc224.dist-info}/top_level.txt
RENAMED
File without changes
|