Skip to content

Commit 3e64361

Browse files
DEVPROD-19870: Cut instance sizes to half where possible (#345)
# Summary Ticket: [DEVPROD-19870](https://jira.mongodb.org/browse/DEVPROD-19870) This PR is for cutting instance sizes in half for variants that are underutilizing resources. This should result in an ~ 34k savings in a year. ## Proof of Work The tests are passing [here](https://spruce.mongodb.com/version/689d2dc3da736000071c33c9/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) for the variants whose instance types were changed from ubuntu2204-large to ubuntu2204-medium. The failing tasks are failing in the base commit as well, so i'm not really sure if it is related. Variants downsized + the passing tests: - [e2e_mdb_kind_ubi_cloudqa](https://spruce.mongodb.com/version/689d2dc3da736000071c33c9/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=e2e_mdb_kind_ubi_cloudqa) - [e2e_static_mdb_kind_ubi_cloudqa](https://spruce.mongodb.com/version/689d2dc3da736000071c33c9/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=e2e_static_mdb_kind_ubi_cloudqa) - [e2e_static_om70_kind_ubi](https://spruce.mongodb.com/version/689d2dc3da736000071c33c9/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=e2e_static_om70_kind_ubi) - [e2e_static_om80_kind_ubi](https://spruce.mongodb.com/version/689d2dc3da736000071c33c9/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=e2e_static_om80_kind_ubi) The tasks are 5% slower compared to the [base commit](https://spruce.mongodb.com/version/mongodb_kubernetes_f0df6f42547f5602c5c4ab120d1d7e3d0db05797/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) which has a total time taken of 7d 14h 52m 49s. Whereas [this](https://spruce.mongodb.com/version/689e05fdaaad8c0007845ce7/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) patch took 8d 0h 59m 48s. However there are some failing and undispatched tasks in the base commit. Comparing to the [patch in a recent PR](https://spruce.mongodb.com/version/689df5cd9e58b7000756a3c3/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) that has all tasks passing, it is only 0.7% slower (the patch took 7d 23h 35m 46s) ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details (I'm unable to add a `skip-changelog` label since i don't have write access. Would the reviewer be able to add it?) Co-authored-by: Anand <[email protected]>
1 parent cda9f73 commit 3e64361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.evergreen.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ buildvariants:
12501250
display_name: e2e_mdb_kind_ubi_cloudqa
12511251
tags: [ "e2e_test_suite", "cloudqa" ]
12521252
run_on:
1253-
- ubuntu2204-large
1253+
- ubuntu2204-medium
12541254
<<: *base_no_om_image_dependency
12551255
tasks:
12561256
- name: e2e_mdb_kind_cloudqa_task_group
@@ -1268,7 +1268,7 @@ buildvariants:
12681268
display_name: e2e_static_mdb_kind_ubi_cloudqa
12691269
tags: [ "e2e_test_suite", "cloudqa" ]
12701270
run_on:
1271-
- ubuntu2204-large
1271+
- ubuntu2204-medium
12721272
<<: *base_no_om_image_dependency
12731273
tasks:
12741274
- name: e2e_mdb_kind_cloudqa_task_group
@@ -1370,7 +1370,7 @@ buildvariants:
13701370
display_name: e2e_static_om70_kind_ubi
13711371
tags: [ "e2e_test_suite" ]
13721372
run_on:
1373-
- ubuntu2204-large
1373+
- ubuntu2204-medium
13741374
<<: *base_om7_dependency
13751375
tasks:
13761376
- name: e2e_static_ops_manager_kind_only_task_group
@@ -1393,7 +1393,7 @@ buildvariants:
13931393
display_name: e2e_static_om80_kind_ubi
13941394
tags: [ "e2e_test_suite" ]
13951395
run_on:
1396-
- ubuntu2204-large
1396+
- ubuntu2204-medium
13971397
<<: *base_om8_dependency
13981398
tasks:
13991399
- name: e2e_static_ops_manager_kind_only_task_group

0 commit comments

Comments
 (0)