Kubernetes package repository move to pkgs.k8s.io

Nodes still pointed at the frozen apt.kubernetes.io and yum.kubernetes.io repositories cannot install newer kubeadm, kubelet and kubectl packages. This page explains the move to the per-minor-version pkgs.k8s.io repositories, the order to make it in, and what drives the effort.

On this page

Why a Kubernetes upgrade stalls on the frozen apt and yum repositories

A self-managed cluster whose nodes still use the legacy apt.kubernetes.io or yum.kubernetes.io sources cannot install the next kubeadm, kubelet or kubectl version, so the upgrade stops before the control plane moves. Those legacy repositories are frozen, which means they will not receive packages for newer Kubernetes releases. The first job is a package-source change on every node, completed before any control plane upgrade starts. Until that change lands, the upgrade plan exists only on paper. Teams often find this out in their first maintenance window, when the package manager cannot find the target version and the window is spent on repository work instead of the upgrade.

The supported path follows the Kubernetes version skew policy. It requires kube-apiserver to move one minor version at a time, with kube-controller-manager, kube-scheduler and kubelets brought up to match afterward. Kubelets may run up to three minor versions older than kube-apiserver, so nodes can lag the control plane for a period, but that allowance does not permit skipping minors in a single change. Each hop needs packages from the repository for its target minor version. As of September 2026, the supported minors were 1.37 (end of life October 28, 2027), 1.36 (June 28, 2027) and 1.35 (February 28, 2027). Confirm the current list on the Kubernetes releases page before choosing a target, because the supported set changes with each release.

Start with an inventory. For each node, record the installed kubeadm, kubelet and kubectl versions and the repository file that supplies them, usually a source list under /etc/apt/sources.list.d/ or a .repo file under /etc/yum.repos.d/. Decide whether the repository change runs in its own window or inside the same drain cycle as the upgrade, and plan recovery for a node that switches sources and then fails to install packages, since that node must be fixed before it can take workloads again. If the nodes have no internet access, confirm with your platform team that the per-minor-version package repository is mirrored internally. The kubeadm private registry option covers container images only, so it does not solve the package source problem.

What changes between the legacy and pkgs.k8s.io repositories

This table compares the legacy apt.kubernetes.io and yum.kubernetes.io repositories with the per-minor-version pkgs.k8s.io repositories. Read each row as a change you must account for on every node before installing packages for a new minor release. The main takeaway is that a node still pointing at the legacy source cannot receive the upgrade packages it needs.

ChangeImpactAction needed
Legacy repositories are frozenNew package versions are no longer published to the legacy apt and yum repositories, so upgrades stall on nodes that still use them.Switch every node to pkgs.k8s.io before planning any upgrade step.
One repository per minor versionEach pkgs.k8s.io repository serves a single minor line, so the source on a node must match the minor version you are installing.Set the repository path to the target minor version and confirm it on each node before running upgrade commands.
kubeadm, kubelet and kubectl pinned to a minor linePackages from a different minor line can be installed by mistake if an old source is still configured, leaving components out of step.Pin or hold the packages to the target minor line and check the installed versions after each node.
Signing keys and file paths differ by familyThe apt and yum families use different key locations and repository file formats, so copying the legacy configuration will not work.Replace the signing key and repository definition on each node using the paths published for the pkgs.k8s.io family you run.
Old sources left in placeLeftover legacy or previous-minor entries can cause version conflicts, failed dependency resolution or silent installs from the wrong repository.Remove or disable old source files and refresh the package index before installing any kubeadm, kubelet or kubectl package.
Package manager cacheCached index data can still show the legacy or previous-minor versions after the source is changed.Clear or refresh the package cache and confirm the candidate version comes from the expected repository.

How the repository move fits into the upgrade path

The flow starts with inventorying each node's package source and confirming the target minor version against the version skew policy, since kube-apiserver goes first and kubelets may lag by up to three minor versions. Each node then switches to the pkgs.k8s.io repository for its current minor, and the team verifies that kubeadm, kubelet and kubectl packages are available before any cluster change. Nodes that cannot reach pkgs.k8s.io take an internal mirror or private registry path instead. Only after that does the kubeadm upgrade begin with the control plane, followed by worker nodes.

Repository move and its hand-off to the kubeadm upgrade, with the air-gapped branch.

Which Kubernetes minor version to move to, and in what order

Run the repository move on the minor version each node is running today, and only then advance the cluster one minor version at a time. The reason is practical: the packages on a node (kubeadm, kubelet and kubectl) must match the release it runs, and the new per-minor repository at pkgs.k8s.io only publishes the packages for the minor version named in its path. Switching a node to the new repository before its packages are pinned to the current minor avoids a node that holds a newer kubelet than its control plane allows. Record the current version of every control plane and worker node before you change any source file, because that record becomes the starting point for the upgrade sequence.

The Kubernetes version skew policy sets the order. The kube-apiserver goes first, and it must move one minor version at a time. After the API server, kube-controller-manager and kube-scheduler follow, and kubelets come last. Kubelets may be up to three minor versions older than the kube-apiserver, so a cluster can tolerate a lagging worker pool for a while, but that allowance is a limit to plan around, not a reason to delay. The maintained minor releases in September 2026 were 1.37 (end of life October 28, 2027), 1.36 (June 28, 2027) and 1.35 (February 28, 2027), according to the Kubernetes releases page. Check that list again before you choose a target, because the set of maintained releases changes with each new release.

What to inventory and back up before changing package sources

Changing the package repository on a running cluster touches every node and the control plane at once, so the inventory and backups come first. The cards below cover what to record, what to back up, and who decides when to stop.

Node inventory by OS family

List every control plane and worker node with its OS family, release, architecture and the kubelet, kubeadm and kubectl package versions it runs. Record the apt or yum source file each node currently uses, because nodes on the frozen repositories cannot receive the newer packages that the move to pkgs.k8s.io is meant to deliver. Mixed OS families in one cluster usually mean separate repository blocks, so check each group before writing the change plan.

Kubernetes releases

Control plane and etcd backup state

Take an etcd snapshot with etcdctl snapshot save from a healthy member before any package change, then confirm the file exists and is readable. Verify the snapshot with etcdutl so you know it can be restored, not just written. Record where the snapshot is stored and whether a second copy exists off the control plane nodes.

etcd operations docs

Private registry and mirror access

If the cluster has no internet access, list the control plane images with kubeadm config images list and pull them with kubeadm config images pull into a registry the nodes can reach. Point kubeadm at that registry with --image-repository and confirm the package mirror you use also carries the new per-minor-version repositories. Confirm these paths with your own network team, because the proxy and firewall rules are specific to your environment.

kubeadm init docs

Configuration management pins

Find every Ansible role, shell script, image build or configuration management manifest that installs or pins Kubernetes packages. A repository line left in a role will reintroduce the old source on the next run, and a version pin will block the install. Update these in the same change as the node work so configuration drift does not undo the move.

Staging cluster that mirrors production

Rehearse the repository change on a test cluster or staging nodes that match production in OS family, container runtime, network plugin and add-ons. Run the package update and confirm that kubelet restarts, node readiness and workload health behave as expected. Keep the staging results with the change record, since they show which steps failed or needed a different order.

Change windows and rollback owners

Name one change owner, one rollback owner and the people who can approve a stop, and agree on a window with application owners before work starts. Write the rollback path for each node type, including how to restore the previous repository file and package version, and who restores etcd if the control plane fails. Confirm the window and owners in writing, because no fixed duration applies to every cluster.

How to switch each node to pkgs.k8s.io, step by step

This sequence moves each node from the frozen legacy Kubernetes package repositories to the pkgs.k8s.io repository for its minor version, so later upgrade steps can install new packages without changing the running cluster.

  1. Freeze changes and confirm the snapshot

    Before touching any node, the platform owner pauses unrelated changes to the cluster, including manifest rollouts, Helm upgrades and node maintenance. Confirm that a current etcd snapshot exists and that someone has restored it in a test location or has a documented procedure to do so. Record the output of kubectl get nodes with the kubelet and kubeadm versions for every node, so you have a baseline to compare against. The step is done when the change freeze is announced, the snapshot is confirmed and the version inventory is saved outside the cluster.

  2. Select one non-critical node to start

    Choose a worker node that runs few or no critical workloads, ideally one in a node pool with spare capacity. Do not start with a control plane node or the only node in a zone. Confirm the node's current kubelet version and the minor version of the cluster it belongs to, because the new source must match the minor version the node will be upgraded to later. The step is done when one node is named, its current versions are recorded and the on-call engineer knows which node is in progress.

  3. Drain and cordon the node

    If the node runs workloads, cordon it so no new pods are scheduled there, then drain it so pods move to other nodes. Respect PodDisruptionBudgets and check that the remaining nodes have capacity for the moved pods. Drain before any package change, because the package manager may restart kubelet or touch its configuration. The step is done when kubectl get nodes shows the node as SchedulingDisabled and the pods that remain on it are only DaemonSet pods or pods you have decided to accept.

  4. Replace the legacy repository with pkgs.k8s.io

    On the drained node, remove the legacy source file that points to apt.kubernetes.io or yum.kubernetes.io. Add the pkgs.k8s.io source for the minor version the cluster is moving toward, and install its signing key in the location your distribution expects. Confirm the exact repository line, key path and file name in the official install instructions for your distribution, because this page does not supply them. Keep a copy of the original source file before you delete it. The step is done when the legacy file is gone, the new file exists and the key is in place.

  5. Refresh the index and confirm packages

    Run your package manager's index refresh, such as apt update or the dnf equivalent, and check that the kubelet, kubeadm and kubectl packages for the target minor version are listed. If they are not visible, check the repository line, the key and network access to the repository host before continuing. Do not install a newer kubelet in this step. The step is done when the package manager lists the target versions from pkgs.k8s.io and reports no signature or access errors.

  6. Hold kubelet and kubectl at the current version

    Place a package hold or version lock on kubelet and kubectl so a routine system update does not upgrade them before the planned upgrade step. Confirm the installed versions are unchanged. Keep kubeadm at its current version too unless your procedure says otherwise. The step is done when the package manager reports the held packages and the installed versions match the inventory you recorded at the start.

  7. Verify the node and its kubelet version

    Uncordon the node only after confirming the package state, then check that kubectl get nodes reports the node as Ready and that the kubelet version is the same as before the change. Review kubelet logs for errors if the node does not return to Ready. The step is done when the node is Ready, schedulable and reports the unchanged kubelet version, and no new pod failures appear on it.

  8. Record rollback point and repeat node by node

    Before starting the next node, write down the change for the completed node: the restored file path, the package hold state and the checks that passed. For each node, the rollback is to restore the saved legacy source file, remove the pkgs.k8s.io file and release or reapply the package pin as your procedure states. Repeat the drain, repository, verify and hold steps for one node at a time, and stop if a node fails its checks. The sequence is complete when every node uses the pkgs.k8s.io source, holds its packages and reports Ready with its original kubelet version.

How the move differs by package family and network setting

On Debian and Ubuntu hosts, the move replaces the legacy apt source that points at apt.kubernetes.io with an entry for the pkgs.k8s.io repository for the minor version you are targeting. Each minor version has its own repository path, so the source entry is tied to one release and must change at every upgrade step. Confirm the current source format and signing key location against the installation guidance for your distribution release, because those details change over time.

  • One source entry per minor version: Point each node at the repository for the minor version it is moving to, and update the entry as part of each upgrade step.
  • Signing key handling: Install the signing key that belongs to the per-minor repository and confirm the package manager verifies signatures before any Kubernetes package installs.
  • Holds on cluster packages: Place holds on kubeadm, kubelet and kubectl so routine system upgrades cannot move them ahead of the cluster plan, and remove holds only in the node's planned window.
  • Legacy source removal: Remove apt.kubernetes.io entries on hosts that are moving so old and new package indexes do not mix.
  • Control plane before workers: Upgrade control plane packages first, then worker packages after each node is drained, to follow the version skew policy order.

Before the cluster upgrade starts, check that each host reports the expected candidate version from the new repository and that the holds are in the state you intended.

What makes the repository move take longer

This table lists the factors that expand or shrink the work of moving nodes to the pkgs.k8s.io repositories, with the reason each one adds effort and what to request in a quote. Read each row against your own inventory, since the same change can be a day of work on a small, uniform fleet and a multi-week program on a fragmented one. The main takeaway is that the package move is rarely the hard part; the inventory, drain planning and testing around it usually are.

DriverWhy it adds effortWhat to ask for in a quote
Number of node pools and operating system familiesEach distribution family (Debian-based or RPM-based) uses different package names, repository files and signing key handling, so every pool needs its own change and check.A per-pool list of OS families, kernel and package manager versions, and the repository file or key change for each.
Air-gapped or restricted egress networksNodes that cannot reach pkgs.k8s.io need packages mirrored internally, with signing keys verified and a mirror kept current for each target minor version.Whether the mirror is built and maintained by the partner or the client, how mirror updates are tested, and who signs off the key trust chain.
Configuration management that pins packagesAnsible, Puppet, Chef or similar tooling that hard-codes old repository URLs or package versions can revert the change or block installs until the code is rewritten.A review of existing playbooks or manifests, the changes needed, and whether the tooling changes are in scope or handed back to the client.
Nodes with stateful workloads and drain orderMoving packages on a node means draining it, and databases, message brokers and storage nodes need careful ordering to keep quorum and avoid data risk.A drain sequence per workload class, the PodDisruptionBudget review, and who approves each maintenance window.
Number of clusters and environmentsEach cluster and each environment (development, test, staging, production) repeats the repository change, the verification and the rollback path, so effort scales with the count.Per-environment scope, whether one runbook is reused across clusters, and the number of change windows assumed.
Missing inventory of hand-installed packagesNodes where engineers installed packages or tools outside automation may hold version conflicts or unexpected dependencies that surface only during the move.Whether the partner runs a package inventory on each node first, and how findings that change scope are handled and priced.
Testing required before productionRepository changes affect package install and upgrade behavior, so test nodes must mirror production images, mirrors and network paths, and the results need recording for change approval.The test environments included, the test cases covered, the evidence delivered, and whether retesting after fixes is included.

How to test the repository move and roll it back

Rehearse the repository move on a staging cluster whose package sources and network rules match production before touching any production node. Staging should point at the same per-minor-version pkgs.k8s.io repository, pass through the same proxy or mirror, and have the same egress rules to reach it. A rehearsal on a cluster with open internet access can pass while production fails on a blocked host, so confirm the repository path end to end on the staging network first. Keep the staging run in the same change window order you plan for production, control plane first, then nodes, so the timing and drain behavior are tested too.

After each node, run a fixed set of checks before moving on. The package index refresh must succeed with no errors for the new repository file. The target packages, normally kubeadm, kubelet and kubectl, must resolve to the intended minor line in the package manager's candidate listing, and the installed kubelet version must be unchanged because the repository move alone does not upgrade the node. Confirm the node reports Ready, then check that pods drained from it have rescheduled and are healthy before draining the next node. Stop the sequence at the first failed check.

Rollback on a worker node means restoring the previous source file, removing the new one, and reapplying package holds on the affected packages so an unplanned upgrade cannot happen during the next routine update. On a control plane node, rolling back the package source does not undo data changes, so the recovery path relies on the etcd snapshot taken before work began. Confirm that snapshot is readable with the restore tooling in your own environment before the change starts, since a snapshot you have never restored is an assumption. Record the exact source file contents, package versions, kubelet version and snapshot identifier in the change record for every node, so the team can see what state each node was in before and after the work.

Questions teams ask before moving Kubernetes nodes to pkgs.k8s.io

What does moving nodes to pkgs.k8s.io cost, and what drives the cost?

The main cost is labor: an engineer or partner must inventory every node, change the package source, verify installs and record the result. Cost rises with node count, the number of distinct OS images and runtimes, and how much staging and rehearsal the team requires before touching production. Air-gapped sites add work because the new repository must be mirrored internally first. Ask any quote to itemize inventory, mirroring (if needed), rehearsal, the production change window and the verification report, and to state which of these are one-time and which recur at each minor upgrade.

How long does the repository move take for a cluster?

The time depends mainly on node count, how uniform the nodes are, and how many change windows your operations calendar allows. Each node needs a repository change, a package check and a record, so larger estates take longer even when each step is simple. Rehearsal on a staging cluster that matches production usually adds time up front but reduces rework later. Ask for a schedule that lists the change windows you need and the checks that gate each batch of nodes.

What does the team need to provide before the work starts?

The team needs read access to the node inventory, including OS, kubelet and kubeadm versions and how each node is provisioned. It also needs a named approver for change tickets, confirmation that recent snapshots or backups exist for control plane and etcd, and access to a staging environment that resembles production. If nodes pull packages through a proxy or mirror, the team should confirm that the mirror can serve the target per-minor-version repository. These items are typically agreed in the written scope before work begins.

Can our own team move the nodes without outside help?

A small, uniform cluster with a clear rehearsal path is usually within reach of an in-house platform team, provided the team reads the upgrade documentation and follows the package steps exactly. Estates with air-gapped networks, mixed operating systems, or nodes managed by several tools are harder to get right and benefit from an outside review of the plan. Whichever route you take, confirm who owns each node, who approves the change and who records the verification output. DeployOpen plans and implements this work inside your infrastructure under a written scope.

Can we skip the repository move if our nodes are already current?

You can skip it only when the packages on each node already resolve to the target minor version line. Check this on every node rather than on a sample, because a single node pinned to an older repository will block the next upgrade step. Confirm the installed kubelet and kubeadm versions and the repository file each node reads. Document the result so the upgrade plan can rely on it. If any node cannot resolve the target line, it still needs the move.

Does moving to pkgs.k8s.io change running workloads?

The repository change by itself does not change running workloads, because it only alters where package managers look for new versions. It does, however, come before the control plane upgrade, which can change API behavior and cluster components. Plan that step separately, with a check for deprecated APIs in manifests and charts before any version change. Keep the repository move and the version upgrade in different change records so a rollback target is clear.

What should we check on each node after the move?

Engineers should confirm the repository file points to the per-minor-version path, that the package manager lists the target minor line as available, and that the installed packages still match the running versions. They should also confirm the node is healthy and ready after any package change, and that the change is recorded against the node. Consistent output across all nodes gives a clean baseline for the control plane step. Ask for these checks to be written into the runbook before the change window opens.

How DeployOpen scopes and delivers the repository move and upgrade

DeployOpen plans the move of your nodes from the frozen apt.kubernetes.io and yum.kubernetes.io repositories to the per-minor-version pkgs.k8s.io repositories as part of a wider, written upgrade scope. Engagements are fixed-scope, so the repository change, the node order and the verification steps are agreed before any node is touched.

How we scope

  • We inventory every node, package source and kubeadm, kubelet and kubectl version before proposing a repository plan.
  • The written scope names the clusters, node groups and target minor version covered by the repository move.
  • We confirm with you which mirror, proxy or air-gapped package source your nodes can reach before work starts.

How we build

  • We change one minor version's repository per step, then test package resolution on a non-production node first.
  • We document the drain, package install and version pin sequence for control plane and worker nodes separately.
  • We check the kubelet and kubectl versions against the version skew policy before moving to the next node.

How we hand over

  • You receive the repository configuration files, package version record and a node-by-node change log.
  • The runbook covers how to repeat the repository move for the next minor version without losing package history.
  • We walk your platform team through rollback steps and the checks to run after each node returns to service.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • A retainer can cover the next minor version's repository move when your cluster reaches the next upgrade window.
  • Ask any quote to state which repository, mirror and node groups are included and what happens if a package is missing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.