You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: node bootstrap drops the private registry and pause image on containerd 2.x #14896
CKS node bootstrap only works with containerd 1.x config files. On a node template with containerd 2.x:
The private registry is never added. The setup script inserts the mirror and credentials with sed after [plugins."io.containerd.grpc.v1.cri".registry], a config version 2 table. containerd 2.x writes config version 3 (version 4 on 2.4+), where that table is [plugins.'io.containerd.cri.v1.images'.registry], so the sed matches nothing and nothing reports it.
The pause image from the ISO is never set. sed "s|sandbox_image = .*|...|" only knows the version 2 key. On 2.x the key is sandbox under pinned_images, so containerd keeps its built-in registry.k8s.io/pause and an offline node tries to pull it. upgrade-kubernetes.sh has the same sed.
Also, runcmd always runs containerd config default > /etc/containerd/config.toml, so a template that ships its own containerd config loses it.
Why it matters
Kubernetes 1.35 is the last release that supports containerd 1.x, and containerd 1.7 is end of life. CKS clusters can't go past 1.35 until node bootstrap works with containerd 2.x.
Seen with
containerd
Config version
Registry with a private registry set
Pause image
1.7.36
2
added
set
2.4.2
4
dropped; pull goes to https:// and fails with server gave HTTP response to HTTPS client
left at the default
Expected
Node bootstrap adds the registry and pause image on containerd 1.7 and 2.x, and keeps a template's own containerd config when it is already set up for Kubernetes.
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.
CKS node bootstrap assumes containerd 1.x config files. On containerd 2.x, the sed that adds the private registry matches nothing, so the registry is dropped and pulls fall back to HTTPS. The pause image sed only knows the 1.x key, so the default registry.k8s.io/pause stays in place and offline nodes fail to pull it. runcmd also overwrites any containerd config a template ships with. The reporter tested containerd 1.7.36 and 2.4.2.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Node bootstrap ignores the private registry and pause image on containerd 2.x
Component
component:cks
Node bootstrap scripts in the CKS plugin
Severity
Severity:Major
Air-gapped and private-registry clusters cannot bootstrap on containerd 2.x
Labels
type:bug, component:cks, Severity:Major
Coding agent
Needs more info
Config format changes across containerd versions need a design choice (edit the new TOML, or generate config per version)
Activity
github-actions commentedon Dec 2, 2026
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
CKS node bootstrap assumes containerd 1.x config files. On containerd 2.x, the
sedthat adds the private registry matches nothing, so the registry is dropped and pulls fall back to HTTPS. The pause imagesedonly knows the 1.x key, so the defaultregistry.k8s.io/pausestays in place and offline nodes fail to pull it.runcmdalso overwrites any containerd config a template ships with. The reporter tested containerd 1.7.36 and 2.4.2.📊 Assessment
🔗 Similar issues
💡 Notes and suggestions
Add this agentic workflow to your repo
To install this agentic workflow, run