Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Aug 9, 2024
1 parent 9dc5d4d commit aecaa1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,22 @@ jobs:
K8S_VERSION=$(echo ${{ vars.NSM_KUBERNETES_VERSION }} | cut -d '.' -f 1,2 | cut -c 2-)
K8S_VERSION=1.28
AKS_K8S_VERSION=$(az aks get-versions --location westus | jq '.orchestrators[].orchestratorVersion' | grep -m 1 "${K8S_VERSION}")
AKS_K8S_VERSION=$(az aks get-versions --location westus | jq '.values[].version' | grep -m 1 "${K8S_VERSION}")
# az aks get-versions --location westus --output table | grep -m 1 "1.28" | cut -d' ' -f1
echo $K8S_VERSION
echo $AKS_K8S_VERSION
echo "Creating a cluster"
az aks create \
--resource-group "$AZURE_RESOURCE_GROUP" \
--name "$AZURE_CLUSTER_NAME" \
--node-count 2 \
--node-vm-size Standard_B2ms \
--generate-ssh-keys \
--kubernetes-version $AKS_K8S_VERSION\
--kubernetes-version "1.28.9" \
--debug
az aks wait \
--name "$AZURE_CLUSTER_NAME" \
Expand Down
4 changes: 4 additions & 0 deletions v
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"1.28"
"1.27"
"1.30"
"1.29"

0 comments on commit aecaa1d

Please sign in to comment.