From 6735f915d26712cba1e2c805e6b01126aaf79055 Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Fri, 21 Aug 2026 14:25:34 -0700 Subject: [PATCH 1/4] Update AKS agent pool API version --- modules/python/clients/aks_machine_client.py | 2 +- modules/python/tests/test_aks_machine_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/python/clients/aks_machine_client.py b/modules/python/clients/aks_machine_client.py index 158f5e32c2..b760fe3ddd 100644 --- a/modules/python/clients/aks_machine_client.py +++ b/modules/python/clients/aks_machine_client.py @@ -31,7 +31,7 @@ _ARM_BASE = "https://management.azure.com" _ARM_SCOPE = "https://management.azure.com/.default" -_AGENTPOOL_API_VERSION = "2024-06-02-preview" +_AGENTPOOL_API_VERSION = "2025-06-02-preview" _MACHINE_API_VERSION = "2025-06-02-preview" _POLL_INTERVAL_SECONDS = 10 # Per-request HTTP timeout is capped so that a single slow PUT/GET cannot diff --git a/modules/python/tests/test_aks_machine_client.py b/modules/python/tests/test_aks_machine_client.py index 062420ad02..fb3f34e5e2 100644 --- a/modules/python/tests/test_aks_machine_client.py +++ b/modules/python/tests/test_aks_machine_client.py @@ -78,7 +78,7 @@ def test_create_machine_agentpool_success(self, mock_make_request, _mock_wait): mock_make_request.assert_called_once() call_args = mock_make_request.call_args - self.assertEqual(call_args.args[0], "PUT") + self.assertTrue(call_args.args[1].endswith("api-version=2025-06-02-preview")) self.assertEqual(call_args.kwargs["data"], {"properties": {"mode": "Machines"}}) metadata_keys = { call.args[0] for call in self.mock_operation.add_metadata.call_args_list From e699c765b2f0239e949c8349aa1ec6fb953df44a Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Fri, 21 Aug 2026 14:29:36 -0700 Subject: [PATCH 2/4] Configure Machine API pipeline test --- pipelines/system/new-pipeline-test.yml | 36 ++++++++++++++------------ 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/pipelines/system/new-pipeline-test.yml b/pipelines/system/new-pipeline-test.yml index 2f864af31c..a8682b39d1 100644 --- a/pipelines/system/new-pipeline-test.yml +++ b/pipelines/system/new-pipeline-test.yml @@ -4,25 +4,29 @@ pool: name: 'AKS-Telescope-Airlock' variables: - SCENARIO_TYPE: - SCENARIO_NAME: + SCENARIO_TYPE: perf-eval + SCENARIO_NAME: k8s-cluster-crud-machine stages: - - stage: # format: [_]+ (e.g. azure_eastus2, aws_eastus_westus) + - stage: azure_canadacentral_machine_api_version dependsOn: [] jobs: - - template: /jobs/competitive-test.yml # must keep as is + - template: /jobs/competitive-test.yml parameters: - cloud: # e.g. azure, aws - regions: # list of regions - - region1 # e.g. eastus2 - topology: # e.g. cluster-autoscaler - engine: # e.g. clusterloader2 - matrix: # list of test parameters to customize the provisioned resources - : - : - : - max_parallel: # required - credential_type: service_connection # required + cloud: azure + regions: + - canadacentral + topology: k8s-cluster-crud-machine + engine: machine + matrix: + canadacentral-agentpool-api-version: + vm_size: Standard_D2_v3 + pool_name: smallpool1 + scale_machine_count: 10 + machine_workers: 5 + use_batch_api: "false" + step_time_out: 900 + max_parallel: 1 + credential_type: service_connection ssh_key_enabled: false - timeout_in_minutes: 60 # if not specified, default is 60 + timeout_in_minutes: 360 From e84bbc92c16a9f6669d711cec76925961f24e742 Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Fri, 21 Aug 2026 14:43:43 -0700 Subject: [PATCH 3/4] Use large-cluster subscription for pipeline test --- pipelines/system/new-pipeline-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipelines/system/new-pipeline-test.yml b/pipelines/system/new-pipeline-test.yml index a8682b39d1..bcc75f46ef 100644 --- a/pipelines/system/new-pipeline-test.yml +++ b/pipelines/system/new-pipeline-test.yml @@ -6,6 +6,8 @@ pool: variables: SCENARIO_TYPE: perf-eval SCENARIO_NAME: k8s-cluster-crud-machine + AZURE_SERVICE_CONNECTION: Azure-for-Telescope-Large-Cluster-Sub + AZURE_SUBSCRIPTION_ID: 854c9ddb-fe9e-4aea-8d58-99ed88282881 stages: - stage: azure_canadacentral_machine_api_version From f1bcc1e255b72814ab1fde04aebbc910f3dbca78 Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Fri, 21 Aug 2026 14:51:17 -0700 Subject: [PATCH 4/4] Restore new pipeline test placeholder --- pipelines/system/new-pipeline-test.yml | 38 +++++++++++--------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/pipelines/system/new-pipeline-test.yml b/pipelines/system/new-pipeline-test.yml index bcc75f46ef..2f864af31c 100644 --- a/pipelines/system/new-pipeline-test.yml +++ b/pipelines/system/new-pipeline-test.yml @@ -4,31 +4,25 @@ pool: name: 'AKS-Telescope-Airlock' variables: - SCENARIO_TYPE: perf-eval - SCENARIO_NAME: k8s-cluster-crud-machine - AZURE_SERVICE_CONNECTION: Azure-for-Telescope-Large-Cluster-Sub - AZURE_SUBSCRIPTION_ID: 854c9ddb-fe9e-4aea-8d58-99ed88282881 + SCENARIO_TYPE: + SCENARIO_NAME: stages: - - stage: azure_canadacentral_machine_api_version + - stage: # format: [_]+ (e.g. azure_eastus2, aws_eastus_westus) dependsOn: [] jobs: - - template: /jobs/competitive-test.yml + - template: /jobs/competitive-test.yml # must keep as is parameters: - cloud: azure - regions: - - canadacentral - topology: k8s-cluster-crud-machine - engine: machine - matrix: - canadacentral-agentpool-api-version: - vm_size: Standard_D2_v3 - pool_name: smallpool1 - scale_machine_count: 10 - machine_workers: 5 - use_batch_api: "false" - step_time_out: 900 - max_parallel: 1 - credential_type: service_connection + cloud: # e.g. azure, aws + regions: # list of regions + - region1 # e.g. eastus2 + topology: # e.g. cluster-autoscaler + engine: # e.g. clusterloader2 + matrix: # list of test parameters to customize the provisioned resources + : + : + : + max_parallel: # required + credential_type: service_connection # required ssh_key_enabled: false - timeout_in_minutes: 360 + timeout_in_minutes: 60 # if not specified, default is 60