Skip to content

Commit 90b15c2

Browse files
authored
Merge pull request #5383 from nawazkh/update_aks_mgmt_capacity
Increase number of AKS-as-mgmt nodepools to 2 and max pods per nodepool to 60
2 parents fdf5a9c + 1e115e2 commit 90b15c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/aks-as-mgmt.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export AKS_NODE_RESOURCE_GROUP="node-${AKS_RESOURCE_GROUP}"
3333
export AKS_MGMT_KUBERNETES_VERSION="${AKS_MGMT_KUBERNETES_VERSION:-v1.30.2}"
3434
export AZURE_LOCATION="${AZURE_LOCATION:-westus2}"
3535
export AKS_NODE_VM_SIZE="${AKS_NODE_VM_SIZE:-"Standard_B2s"}"
36-
export AKS_NODE_COUNT="${AKS_NODE_COUNT:-1}"
36+
export AKS_NODE_COUNT="${AKS_NODE_COUNT:-2}"
3737
export AZURE_NODE_MACHINE_TYPE="${AZURE_NODE_MACHINE_TYPE:-"Standard_B2s"}"
3838
export MGMT_CLUSTER_KUBECONFIG="${MGMT_CLUSTER_KUBECONFIG:-$REPO_ROOT/aks-mgmt.config}"
3939
export AZURE_IDENTITY_ID_FILEPATH="${AZURE_IDENTITY_ID_FILEPATH:-$REPO_ROOT/azure_identity_id}"
@@ -143,6 +143,7 @@ create_aks_cluster() {
143143
--vnet-subnet-id "/subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${AKS_RESOURCE_GROUP}/providers/Microsoft.Network/virtualNetworks/${AKS_MGMT_VNET_NAME}/subnets/${AKS_MGMT_SUBNET_NAME}" \
144144
--service-cidr "${AKS_MGMT_SERVICE_CIDR}" \
145145
--dns-service-ip "${AKS_MGMT_DNS_SERVICE_IP}" \
146+
--max-pods 60 \
146147
--tags creationTimestamp="${TIMESTAMP}" jobName="${JOB_NAME}" buildProvenance="${BUILD_PROVENANCE}" \
147148
--output none --only-show-errors;
148149
elif echo "$aks_exists" | grep -q "${MGMT_CLUSTER_NAME}"; then

0 commit comments

Comments
 (0)