Skip to content

Commit

Permalink
ci: update kubernetes version to v1.26 for aks
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase committed Aug 17, 2023
1 parent 59b6a5f commit b1f1154
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/create-aks-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ main() {
echo "Creating an AKS cluster '${CLUSTER_NAME}'"
LOCATION="$(get_random_region)"
# get the latest patch version of 1.24
KUBERNETES_VERSION="$(az aks get-versions --location "${LOCATION}" --query 'orchestrators[*].orchestratorVersion' -otsv | grep '1.24' | tail -1)"
az group create --name "${CLUSTER_NAME}" --location "${LOCATION}" > /dev/null
# TODO(chewong): ability to create an arc-enabled cluster
az aks create \
Expand All @@ -35,7 +34,7 @@ main() {
--node-vm-size Standard_DS3_v2 \
--enable-managed-identity \
--network-plugin azure \
--kubernetes-version "${KUBERNETES_VERSION}" \
--kubernetes-version "1.26" \
--node-count 3 \
--generate-ssh-keys \
--enable-oidc-issuer > /dev/null
Expand Down

0 comments on commit b1f1154

Please sign in to comment.