Skip to content

Commit

Permalink
create-coco-aks: don't use the default nodepool in dev setup
Browse files Browse the repository at this point in the history
It's not really needed and we can halve the costs by deleting it right
away. Deploying the emojivoto demodir in a fresh cluster leads to ~80%
utilization of the one node.
  • Loading branch information
burgerdev committed Jan 31, 2024
1 parent 2a4f36f commit 31abb56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/create-coco-aks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ az aks nodepool add \
--resource-group "${name}" \
--name nodepool2 \
--cluster-name "${name}" \
--mode System \
--node-count 1 \
--os-sku AzureLinux \
--node-vm-size Standard_DC4as_cc_v5 \
Expand All @@ -58,3 +59,8 @@ az aks nodepool add \
az aks get-credentials \
--resource-group "${name}" \
--name "${name}"

az aks nodepool delete \
--resource-group "${name}" \
--cluster-name "${name}" \
--name nodepool1

0 comments on commit 31abb56

Please sign in to comment.