Skip to content

fix(gpu): unpin AKS kubernetes_version so AKS selects a supported default - #1277

Merged
Xu Xue (xuexu6666) merged 1 commit into
mainfrom
xuxue/gpu-unpin-k8s-version
Jul 31, 2026
Merged

fix(gpu): unpin AKS kubernetes_version so AKS selects a supported default#1277
Xu Xue (xuexu6666) merged 1 commit into
mainfrom
xuxue/gpu-unpin-k8s-version

Conversation

@xuexu6666

Copy link
Copy Markdown
Contributor

Problem

All scheduled runs of the GPU Cluster CRUD pipeline (ADO akstelescope/telescope def 61) — and the sibling GPU scheduling / Ray scheduling pipelines — have been failing on az aks create:

ERROR: (K8sVersionNotSupported) Managed cluster gpu-cluster is on version 1.33.13,
which is only available for Long-Term Support (LTS).

Root cause

The GPU scenarios pinned kubernetes_version = "1.33". AKS has since aged the entire 1.33 minor into LTS-only support. On a Standard-tier cluster without LTS enabled, --kubernetes-version 1.33 resolves to 1.33.13 and is rejected. Community-supported versions are now 1.34 / 1.35 / 1.36.

Fix

Remove the version pin from the Azure inputs of all three GPU scenarios. The aks-cli module already treats kubernetes_version = null as "omit --kubernetes-version", so AKS selects its current default supported version. This also prevents recurrence as versions age out.

  • scenarios/perf-eval/k8s-gpu-cluster-crud/terraform-inputs/azure.tfvars
  • scenarios/perf-eval/k8s-gpu-scheduling/terraform-inputs/azure.tfvars
  • scenarios/perf-eval/k8s-ray-scheduling/terraform-inputs/azure.tfvars

The EKS aws.tfvars (k8s-gpu-cluster-crud) is left on 1.33 — EKS still supports it and no GPU pipeline runs on AWS.

Note

The same stale 1.33 pin exists in ~12 other Azure perf-eval scenarios and will fail identically; scoped this PR to the GPU pipelines per the request. Happy to follow up with a sweep for the rest.

The GPU perf-eval scenarios pinned kubernetes_version = "1.33".
AKS has since moved the 1.33 minor into Long-Term Support (LTS) only,
so 'az aks create --kubernetes-version 1.33' on a Standard tier cluster
now fails with K8sVersionNotSupported (1.33.13 is LTS-only). This broke
every scheduled run of the GPU Cluster CRUD / scheduling pipelines.

Remove the pin from the Azure inputs of all three GPU scenarios so the
aks-cli module omits --kubernetes-version and AKS selects a currently
supported default version. Avoids recurrence as versions age out.

- k8s-gpu-cluster-crud/terraform-inputs/azure.tfvars
- k8s-gpu-scheduling/terraform-inputs/azure.tfvars
- k8s-ray-scheduling/terraform-inputs/azure.tfvars

(EKS aws.tfvars left on 1.33; EKS still supports it and no GPU pipeline runs on AWS.)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the hard-coded AKS Kubernetes minor version pin (1.33) from the Azure inputs for the three GPU-related perf-eval scenarios so AKS can select a currently supported default version, preventing failures as older minors age into LTS-only.

Changes:

  • Removed kubernetes_version = "1.33" from the aks_cli_config_list entries in the three GPU-related Azure tfvars files.
  • Leaves version selection to AKS defaults (the aks-cli module treats a missing/null kubernetes_version as “omit --kubernetes-version”).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
scenarios/perf-eval/k8s-ray-scheduling/terraform-inputs/azure.tfvars Unpins AKS Kubernetes version for ray scheduling scenario so AKS selects a supported default.
scenarios/perf-eval/k8s-gpu-scheduling/terraform-inputs/azure.tfvars Unpins AKS Kubernetes version for GPU scheduling scenario so AKS selects a supported default.
scenarios/perf-eval/k8s-gpu-cluster-crud/terraform-inputs/azure.tfvars Unpins AKS Kubernetes version for GPU cluster CRUD scenario so AKS selects a supported default.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wonderyl

Copy link
Copy Markdown
Collaborator

/run-tf-integration

@xuexu6666
Xu Xue (xuexu6666) merged commit 5829897 into main Jul 31, 2026
10 checks passed
@xuexu6666
Xu Xue (xuexu6666) deleted the xuxue/gpu-unpin-k8s-version branch July 31, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants