{
  "schemaVersion": "ebb.rule.v1",
  "id": "kubernetes.azure-aks.1-34",
  "ecosystem": "kubernetes",
  "purl": "pkg:generic/azure-aks",
  "affectedVersions": "vers:semver/>=1.34.0|<1.35.0",
  "event": "scheduled-end-of-life",
  "severity": "low",
  "title": "AKS 1.34 cluster is scheduled to leave its 12-month support window",
  "summary": "AKS supports a generally available Kubernetes version for 12 months. The supported-versions page gives AKS 1.34 an end of life of 2026-11-30, with long-term support, which must be enabled for the cluster, ending on 2027-11-30.",
  "replacement": "Azure Kubernetes Service 1.35 or later",
  "deadline": "2026-11-30",
  "sources": [
    {
      "title": "Supported Kubernetes versions in Azure Kubernetes Service (AKS)",
      "url": "https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions",
      "accessedAt": "2026-11-03"
    }
  ],
  "provenance": {
    "observedAt": "2026-11-03",
    "reviewedAt": "2026-11-03",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "AKS upgrades one minor version at a time and upgrades the control plane before the agent pools.",
      "Long-term support is opt-in per cluster; without it, a version stops receiving patches at the end of its 12-month support window.",
      "An agent pool cannot run a newer version than its control plane, so raise the control plane and the pools together."
    ],
    "steps": [
      {
        "id": "raise-cluster-version",
        "title": "Raise the cluster version",
        "instructions": "Run az aks upgrade with the version in the replacement to move the control plane, after checking the upgrade notes for every minor version crossed.",
        "targets": "all"
      },
      {
        "id": "raise-agent-pools",
        "title": "Raise the agent pools",
        "instructions": "Run az aks nodepool upgrade for each agent pool so every pool reports the new orchestrator version.",
        "targets": "all"
      },
      {
        "id": "align-cluster-declaration",
        "title": "Align the cluster declaration",
        "instructions": "Set kubernetes_version and each node pool orchestrator_version in the Terraform, Bicep, or Azure Resource Manager definition of the cluster to the same replacement version.",
        "targets": "declaration"
      },
      {
        "id": "review-removed-apis",
        "title": "Remove APIs the new version deleted",
        "instructions": "Read the Kubernetes deprecation guide for every minor version crossed and replace removed API versions in manifests and Helm charts before applying.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "kubectl version",
        "purpose": "Confirm the API server and kubectl agree on the new version."
      },
      {
        "command": "kubectl get nodes -o wide",
        "purpose": "Confirm every node runs a compatible version."
      }
    ]
  }
}
