Skip to content

CKS: the binaries ISO builder bundles an unpinned autoscaler and CCM, and records nothing about what it contains #14648

Open

Description

@bhouse-nexthop

problem

scripts/util/create-kubernetes-binaries-iso.sh builds the CKS binaries ISO, but it does not pin two of the add-ons it bundles:

  • Cluster autoscaler. The manifest is downloaded from the master branch of kubernetes/autoscaler (cluster-autoscaler/cloudprovider/cloudstack/examples/cluster-autoscaler-standard.yaml, next to a # TODO : Change the url once merged). The image bundled is whatever that manifest names, which is apache/cloudstack-kubernetes-autoscaler:latest. That tag was last pushed in March 2022 and is a 1.24.0-alpha development build. The cluster-autoscaler only supports the Kubernetes minor version it was released with, so every ISO for Kubernetes 1.25 or later ships an autoscaler built for a different Kubernetes version.
  • Cloud controller manager. The manifest comes from the main branch of apache/cloudstack-kubernetes-provider (deployment.yaml), and the image is whatever main names on the day of the build. ISOs built before December 2025 got v1.1.0 this way. v1.1.0 does not initialise nodes (Fix providerID implementation cloudstack-kubernetes-provider#58, fixed in v1.2.0).

So two ISOs labelled with the same Kubernetes version can contain different add-ons, and a rebuild can pick up a breaking change without anyone noticing. Nothing in the ISO records which versions it contains.

Most of the downloads also use curl -sSL or curl -L without -f, so a 404 is saved as the file and goes into the ISO.

#14598 fixes the same kind of download problem in the node-side scripts (deploy-provider, autoscale-kube-cluster, deploy-csi-driver), but leaves the ISO builder and the version pinning alone.

versions

4.22 and main. The autoscaler and CCM URLs are the same on both branches.

The steps to reproduce the bug

  1. Run scripts/util/create-kubernetes-binaries-iso.sh for any Kubernetes version, e.g. 1.31.14.
  2. Mount the ISO and look at autoscaler.yaml and provider.yaml.
  3. The autoscaler image is apache/cloudstack-kubernetes-autoscaler:latest whatever the Kubernetes version. The CCM image is whatever main of cloudstack-kubernetes-provider named that day.

What to do about it?

  • Download the autoscaler manifest from the cluster-autoscaler-<version> release tag that matches the ISO's Kubernetes minor version, and bundle that release's image.
  • Pin the CCM to a release tag (v1.2.0 or later) and bundle the image of that tag.
  • Allow both to be overridden when building the ISO.
  • Write a file into the ISO that lists what it contains.
  • Use curl -f so a failed download stops the build.

Activity

  1. added this to the 4.22.3 milestone on Nov 11, 2026
  2. github-actions commented on Nov 11, 2026

    @github-actions

    Warning

    threat detection engine error
    The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.

    What happened

    The threat detection engine failed to produce results.

    Review the workflow run logs for details.

    🎯 Triage report

    The CKS binaries ISO builder fetches the cluster autoscaler manifest from the master branch, which names an image last pushed in 2022, and the cloud controller manager from main, so two ISOs for the same Kubernetes version can carry different add-ons. The reporter asks for release-tag pinning, overridable versions, a manifest file in the ISO, and curl -f on downloads. This is an improvement request, not a runtime failure.

    📊 Assessment

    Dimension Value Reasoning
    Type type:improvement Build reproducibility and supply-chain hygiene; no crash reported
    Component component:cks ISO builder script for CKS
    Severity n/a Not a bug report
    Labels type:improvement, component:cks
    Coding agent Needs more info Choosing the autoscaler and CCM versions per Kubernetes minor is a maintainer decision

    🔗 Similar issues

    💡 Notes and suggestions
    • Reproduction: run scripts/util/create-kubernetes-binaries-iso.sh for two Kubernetes versions and compare autoscaler.yaml and provider.yaml.
    • The curl -f change is small and could be split out from the version-pinning work.

    Generated by Daily Issue Triage · copilot · haiku55 · ~6 AIC · ⊞ 3.8K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions