From 4c4d5d6268d99eefbb6f2c2ed0c9aaa37f97b0c0 Mon Sep 17 00:00:00 2001 From: Jon Huhn Date: Wed, 12 Jun 2024 16:39:46 +0000 Subject: [PATCH] remove user-defined MP count from aks-aso-clusterclass template --- templates/cluster-template-aks-aso-clusterclass.yaml | 4 ---- templates/flavors/aks-aso-clusterclass/clusterclass.yaml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/templates/cluster-template-aks-aso-clusterclass.yaml b/templates/cluster-template-aks-aso-clusterclass.yaml index f77b7973155..5e214ac4575 100644 --- a/templates/cluster-template-aks-aso-clusterclass.yaml +++ b/templates/cluster-template-aks-aso-clusterclass.yaml @@ -87,8 +87,6 @@ spec: mode: System type: VirtualMachineScaleSets vmSize: ${AZURE_NODE_MACHINE_TYPE} - # Soon this will be derived from the MachinePool - count: ${WORKER_MACHINE_COUNT:=2} selector: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 kind: AzureASOManagedMachinePoolTemplate @@ -117,8 +115,6 @@ spec: mode: User type: VirtualMachineScaleSets vmSize: ${AZURE_NODE_MACHINE_TYPE} - # Soon this will be derived from the MachinePool - count: ${WORKER_MACHINE_COUNT:=2} selector: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 kind: AzureASOManagedMachinePoolTemplate diff --git a/templates/flavors/aks-aso-clusterclass/clusterclass.yaml b/templates/flavors/aks-aso-clusterclass/clusterclass.yaml index 82f54641e11..4d7c3b6543b 100644 --- a/templates/flavors/aks-aso-clusterclass/clusterclass.yaml +++ b/templates/flavors/aks-aso-clusterclass/clusterclass.yaml @@ -124,8 +124,6 @@ spec: mode: System type: VirtualMachineScaleSets vmSize: ${AZURE_NODE_MACHINE_TYPE} - # Soon this will be derived from the MachinePool - count: ${WORKER_MACHINE_COUNT:=2} - name: azureasomanagedmachinepool-pool1-spec definitions: - selector: @@ -154,6 +152,4 @@ spec: mode: User type: VirtualMachineScaleSets vmSize: ${AZURE_NODE_MACHINE_TYPE} - # Soon this will be derived from the MachinePool - count: ${WORKER_MACHINE_COUNT:=2}