Skip to main content
Source

This page is generated from skills/eks-upgrade-check/references/addon-compatibility.md. Edit the source, not this page.

Vendored skill

This skill is sourced from sample-eks-upgrade-skill, also maintained by the APEX team.

Add-on Compatibility

Purpose​

Assess all EKS managed add-ons, discovered OSS add-ons, and Karpenter against both current and target Kubernetes versions, and verify safe update sequencing.

Checks to Execute​

4.1 — Core EKS Managed Add-ons​

The 4 core add-ons that MUST be checked:

  • vpc-cni (Amazon VPC CNI)
  • coredns
  • kube-proxy
  • aws-ebs-csi-driver (if installed)

How to check:

  1. List all EKS managed add-ons → describe each for version, status, health
  2. For each core add-on:
    • Record installed version
    • Check health status and any issues
    • Note if it's self-managed (not in the managed add-on list but running in kube-system)

MANDATORY version comparison (deterministic — do NOT eyeball or skip):

For EVERY managed add-on, query both versions using the selected account and region:

aws eks describe-addon-versions --addon-name <addon> --kubernetes-version <current> --region <region> --output json
aws eks describe-addon-versions --addon-name <addon> --kubernetes-version <target> --region <region> --output json

Keep CLI automatic pagination enabled; do not truncate results or select only the default.

Build compatibility sets before selecting a recommendation. Collect every response page. For each queried Kubernetes version, match the add-on name and the corresponding compatibilities[].clusterVersion entries; do not assume either array's index 0 is the right entry. Check applicable platform, architecture, and compute-type constraints. If a constraint cannot be verified, report that uncertainty rather than infer compatibility.

Record separately for BOTH current and target Kubernetes versions:

  • The complete compatible set of add-on builds.
  • The default build(s), from the matching compatibility entries' defaultVersion flag.
  • The newest compatible build, ordered by numeric major/minor/patch and numeric eksbuild revision (e.g., eksbuild.10 is newer than eksbuild.9). Do not use lexical ordering or assume a default is newest. If ordering is ambiguous, do not invent an update recommendation. No default flag means “default not returned,” not “no versions.”

Target verdict (apply in precedence order; one scored verdict per add-on):

ConditionVerdictScore
Add-on DEGRADED / FAILEDINCOMPATIBLE (health failure, record separately from version support)critical: 5 pts + hard blocker (caps ≤59) / optional: 3 pts, NO cap
Target lookup denied, errored, or incompleteUNKNOWN / not-scored; list in UnassessedNo fabricated clean pass or incompatibility
Installed build absent from the complete applicable target-compatible setINCOMPATIBLEcritical: 5 pts + hard blocker (caps ≤59) / optional: 3 pts, NO cap
Installed build compatible, but kube-proxy >3 minors behind targetSKEW_WARNING2 pts
Installed build compatible AND older than a verified target defaultUPDATE_RECOMMENDED1 pt
Installed build compatible AND equal to or newer than the target defaultCOMPATIBLE0 pts
Installed build compatible, but default missing or ordering uncertainCOMPATIBLE; note recommendation uncertainty0 pts

A newer available release alone is informational; a documented upstream recommendation may justify UPDATE_RECOMMENDED, with the reason and source recorded. NEVER recommend a downgrade or deduct points merely because the installed build differs from the default. An explicitly documented incompatibility takes precedence over an update recommendation; SKEW_WARNING takes precedence over UPDATE_RECOMMENDED. A known health failure remains a finding even if a compatibility read fails; list the unverified check in Unassessed too.

The critical/optional split is decisive: only a CRITICAL add-on (vpc-cni, coredns, kube-proxy, aws-ebs-csi-driver, plus any non-AWS cluster CNI installed in place of vpc-cni — Cilium, Calico) INCOMPATIBLE triggers hard blocker #3; an OPTIONAL add-on INCOMPATIBLE deducts 3 pts and does NOT cap the score.

This API compatible-set test is for EKS-managed add-ons. Self-managed and OSS add-ons use authoritative project support information, as in §4.3, rather than absence from EKS's catalog as evidence of incompatibility.

4.1a — Current compatibility and safe update sequencing​

For EVERY managed/OSS add-on and Karpenter, evaluate the installed version against current AND target Kubernetes versions separately. Reuse a single upstream support matrix when it covers both, but record both conclusions:

Current compatibilityTarget compatibilityInterpretation
SupportedSupportedNo version-support issue for this hop
SupportedUnsupportedIssue introduced by the upgrade
UnsupportedSupportedExisting support issue; target support does not make today's state supported
UnsupportedUnsupportedExisting issue that also affects the upgrade
Unknown on either sideAnyState what is unverified; do not infer incompatibility from missing evidence

Use “unsupported” only when the complete applicable managed-add-on results or an explicit upstream statement establish it. A running controller is not proof of official support, and unsupported is not proof of a current outage. Missing/ambiguous upstream coverage is UNKNOWN. Record source and reason for each conclusion.

The scored add-on verdict remains target-focused (plus health), per the table above and §4.3. Report a current-only unsupported combination as an existing support concern, without a second deduction or an invented hard blocker. A denied/incomplete current lookup belongs in Unassessed even when target support is known. Unreachable/ambiguous upstream documentation is recorded as current compatibility UNKNOWN, not as a successful current check; list that unverified current check in Unassessed. Keep any independently verified target finding. Do not double-count current and target findings for one add-on.

Before recommending ANY pre-control-plane add-on/controller change, verify that the specific candidate supports BOTH current and target Kubernetes versions, plus the project's migration/CRD requirements and any required intermediate releases. This applies to Karpenter prerequisites as well as managed and OSS add-ons. A newer release supporting only the target must not be recommended for installation on the current cluster. Prefer a verified version supporting both when such a path exists.

If no such version or documented transition can be verified, mark the sequence unresolved and require project-specific migration review; do not invent a version or print a pre-upgrade install command for an unverified candidate. Keep the normal control-plane, node, then managed-add-on ordering; add a pre-upgrade prerequisite only where compatibility or the documented migration requires it. Current support issues do not authorize repairs.

Key talking point: EKS does NOT auto-update add-ons when you upgrade the control plane. This is the #1 thing customers forget. A cluster upgraded to 1.33 can still be running vpc-cni from 1.29.

Rating per add-on:

  • Compatible + healthy → PASS
  • UPDATE_RECOMMENDED per the verdict rules → WARN; being behind newest alone is not a warning
  • Incompatible or unhealthy → FAIL
  • Self-managed (not EKS managed) → WARN (recommend converting to managed)

4.2 — Additional Managed Add-ons​

Check any other installed managed add-ons:

  • amazon-cloudwatch-observability
  • aws-efs-csi-driver
  • adot (AWS Distro for OpenTelemetry)
  • eks-pod-identity-agent
  • aws-guardduty-agent
  • eks-node-monitoring-agent
  • snapshot-controller

How to check:

  1. List all add-ons → describe each
  2. Record version, status, health for each

4.3 — OSS Add-on Discovery & Compatibility Verification​

Scan workloads to discover non-AWS add-ons running in the cluster, then verify their compatibility with the target Kubernetes version via web search.

Step 1: Discover OSS add-ons

  1. List Deployments, DaemonSets, StatefulSets across all namespaces

  2. For each workload, extract add-on identity from (in priority order):

    • Labels: app.kubernetes.io/name, app.kubernetes.io/version
    • Helm labels: helm.sh/chart, app.kubernetes.io/managed-by
    • Container image repo + tag (e.g., quay.io/jetstack/cert-manager-controller:v1.15.0)
  3. Exclude AWS-managed add-ons (vpc-cni, coredns, kube-proxy, ebs-csi) and Karpenter (checked separately). A non-AWS cluster CNI (Cilium, Calico) is also excluded from this generic OSS-optional scan — it is scored on the CRITICAL add-on path above (an INCOMPATIBLE cluster CNI is a hard blocker, not a 3-pt optional finding).

  4. Exclude workloads in these system namespaces (treat as user apps, not add-ons only if they clearly match a known add-on identifier): kube-system is included for add-on scan; default and application namespaces are EXCLUDED unless the workload matches a known add-on identifier in the registry.

  5. For each workload examined, classify it into exactly one bucket:

    BucketConditionAction
    IDENTIFIEDMatches a registry entry OR has clear labels/image identifying a known OSS projectProceed to Step 2
    UNIDENTIFIED ADD-ONIn kube-system/karpenter/cert-manager/monitoring etc. namespace but no matching registry entry and unclear labelsRecord and flag — see "Unidentified workloads" below
    USER APPLICATIONIn user namespace with no add-on indicatorsSkip (covered by workload-risks scan)
  6. For each IDENTIFIED add-on, record: name, version, namespace, identification method (which label/image matched).

  7. For each UNIDENTIFIED ADD-ON, record: workload kind, name, namespace, image(s), any labels present, and why it couldn't be identified.

Common OSS add-ons to look for:

  • cert-manager
  • external-dns
  • metrics-server
  • cluster-autoscaler
  • aws-load-balancer-controller
  • ingress-nginx (retired March 2026)
  • istio / envoy
  • prometheus / grafana
  • argocd / flux

Step 2: Verify compatibility via upstream sources (MANDATORY for each discovered OSS add-on)

Compatibility data is NEVER read from a local file. OSS projects ship faster than any shipped data file can keep up with, and stale data produces unsafe upgrade advice. Always fetch compatibility information live from the upstream project.

Lookup order (stop at the first that yields a definitive answer):

  1. Check the local registry for the authoritative URL Read ${CLAUDE_SKILL_DIR}/data/oss_addon_registry.json. If the add-on is listed, use its compatibility_url (primary) and releases_url (fallback). The registry contains identifiers and URLs — it does NOT contain compatibility data itself.

  2. Fetch the compatibility page Use webFetch on the registry's compatibility_url. Look for a supported-versions table or statement covering the installed add-on version against BOTH current and target Kubernetes versions. Apply §4.1a to any proposed replacement too.

  3. Fetch release notes if no compatibility page exists Use webFetch on releases_url and inspect the relevant release for "Kubernetes compatibility" or "breaking changes" sections.

  4. Fall back to web search only if the above fail Use remote_web_search with queries like:

    • "<addon-name> <addon-version> supported Kubernetes versions"
    • "<addon-name> compatibility matrix" Prefer results from the project's own domain or GitHub org.
  5. If the add-on is not in the registry Search with remote_web_search first to identify the authoritative source (project docs or GitHub releases), then apply steps 2–3 against that source.

If no authoritative source can be reached or the answer is ambiguous: Report the add-on as "compatibility UNKNOWN — manual verification required" with MEDIUM severity and include the URL(s) consulted. Do NOT assume compatibility. Do NOT fall back to LLM training data — it is likely outdated.

Verdict states (use exactly one per add-on):

VerdictMeaningSeverityScore impact
COMPATIBLEUpstream source confirms installed version supports target K8s—0 pts
UPDATE_RECOMMENDEDCurrent version works but a newer version is recommendedLOW1 pt
INCOMPATIBLEUpstream source explicitly says installed version does not support targetHIGH3 pts (optional) / 5 pts + hard blocker (critical, caps ≤59)
SKEW_WARNINGkube-proxy >3 minors behind target but still in the compatible setMEDIUM2 pts (Category 4 warning — distinct from UNKNOWN_VERIFIABLE)
UNKNOWN_VERIFIABLEAdd-on identified but upstream source unreachable or ambiguousMEDIUM2 pts
UNKNOWN_UNIDENTIFIEDWorkload looks like an add-on but could not be identifiedMEDIUM2 pts

Every discovered add-on MUST end with exactly one of these verdicts. "Probably fine" is not an allowed outcome.

Unidentified Workloads​

Workloads classified as UNIDENTIFIED ADD-ON in Step 1 are a distinct concern from UNKNOWN_VERIFIABLE add-ons. The skill found something add-on-shaped but cannot name it, which means the user likely knows what it is and the skill does not.

For each unidentified workload, collect:

  • Workload kind (Deployment/DaemonSet/StatefulSet) and name
  • Namespace
  • Container image(s) including registry, repo, and tag
  • All present labels (to help the user recognize it)
  • Replica count

Report these in a dedicated "Unidentified Workloads" table in the report. Do NOT silently drop them. The user needs to know which of their workloads the skill could not assess, so they can provide context or verify compatibility manually.

Do NOT guess the identity from image names alone if the match is ambiguous. For example, myregistry.internal/platform/controller:v2.1 is unidentified — not "probably a custom controller, assumed compatible". Ambiguity is reported, not resolved.

Registry notes field: Some add-ons in the registry have a notes field flagging special handling (e.g., ingress-nginx retirement, cluster-autoscaler K8s version pinning). Always read and apply these notes.

Output per OSS add-on:

| Add-on | Version | Current compatibility | Target compatibility | Verdict | Source URL | Notes |

The Verdict column uses the exact states defined above (COMPATIBLE, UPDATE_RECOMMENDED, INCOMPATIBLE, SKEW_WARNING, UNKNOWN_VERIFIABLE, UNKNOWN_UNIDENTIFIED). The Source URL column is mandatory — it shows the user exactly where the verdict came from (or which URL failed to load) and lets them verify it.

Output for unidentified workloads:

| Kind | Name | Namespace | Image | Labels | Why unidentified |

4.4 — Karpenter Compatibility​

How to check:

  1. List Deployments in the karpenter namespace, or check for NodePool CRDs (nodepools.karpenter.sh)
  2. If installed, find the Karpenter deployment → extract version from:
    • Labels: app.kubernetes.io/version or helm.sh/chart
    • Container image tag (e.g., public.ecr.aws/karpenter/controller:0.37.0)
  3. Check the installed version against BOTH current and target Kubernetes versions using the official matrix from https://karpenter.sh/docs/upgrading/compatibility/:

Official Karpenter Compatibility Matrix (source: karpenter.sh):

Kubernetes1.301.311.321.331.341.351.36
Karpenter>= 0.37>= 1.0.5>= 1.2>= 1.5>= 1.6>= 1.9>= 1.13

IMPORTANT: Do NOT rely on the approximate ranges previously listed here. Always use the matrix above. Note the jump from 0.37 (for 1.30) to 1.0.5 (for 1.31) — this is a major version boundary that requires API migration (v1beta1 → v1).

If either current or target Kubernetes version, or the installed Karpenter version, is NOT covered by the matrix above: You MUST perform a web search to verify compatibility:

  1. Search: "Karpenter compatibility matrix Kubernetes <queried-current-or-target-version>" using remote_web_search
  2. Fetch the official page: https://karpenter.sh/docs/upgrading/compatibility/ using webFetch
  3. Do NOT guess or assume compatibility. Report as UNKNOWN if you can't verify.

Rating:

  • Target-compatible version per matrix → PASS (record current support separately)
  • Installed but version unknown/unidentifiable → WARN (manual review). Do NOT invent a new Category 5 deduction for this — score it as the existing UNKNOWN_VERIFIABLE verdict (2 pts), NOT a separate/new deduction.
  • Target-incompatible version per matrix → FAIL (verify a candidate supporting BOTH versions before recommending a Karpenter prerequisite)

Key talking point: Karpenter must be upgraded BEFORE the control plane, not after. The order matters.

Two DISTINCT API migrations (do not conflate them):

The 0.37 → 1.0.5 jump in the matrix above crosses ONLY the v1beta1 → v1 boundary; a cluster already on v0.32+ NodePools does not need to redo the Provisioner migration.

Score Impact​

Canonical scoring is defined in references/report-generation.md §Category 4 (Add-on Compatibility) and §Category 5 (Karpenter).

FindingDeduction
Critical add-on INCOMPATIBLE (vpc-cni, coredns, kube-proxy, ebs-csi, or a non-AWS cluster CNI — Cilium, Calico)5 pts each + hard blocker (caps ≤59)
Optional add-on INCOMPATIBLE3 pts each (no cap)
kube-proxy SKEW_WARNING (>3 minors behind target, still in compatible set)2 pts each (Cat-4 warning — distinct from UNKNOWN_VERIFIABLE)
Add-on UNKNOWN_VERIFIABLE (could not verify upstream)2 pts each
Workload UNKNOWN_UNIDENTIFIED (couldn't identify the add-on)2 pts each
UPDATE_RECOMMENDED (verified recommendation, compatible)1 pt each
Karpenter INCOMPATIBLE10 pts
Max category deduction15 pts (add-ons) + 10 pts (Karpenter)