-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kindest/node:v1.22.2 -> label key and value greater than maximum size (4096 bytes), key: containerd: invalid argument #2518
Comments
- kindest/node:v1.22.2 has an issue kubernetes-sigs/kind#2518 that prevents container creation.
what is the component that raises the error? containerd? ctr? |
The Event is |
so, image 1.22.1 was build for kind 0.11 has containerd 1.5.2 Line 31 in 6a69d86
the new image for 1.22.2 has containerd 1.5.7 Line 30 in 77e79b8
if you can confirm that the problem is that containerd regressed, we should open an issue in that project |
Awesome - thanks for pointing me that way. I'll try building an image with containerd 1.5.2. |
After trying a few versions of containerd, the functionality changed between 1.5.5 and 1.5.6. 1.5.5 was able to create containers successfully, while 1.5.6 & 1.5.7 had the mentioned error. |
@AkihiroSuda ^^ |
this seems related containerd/containerd#6012 |
containerd/containerd@2a8dac1 is in containerd v1.6.0-beta.1 api/v1.6.0-beta.1, we could ship kind v0.12.0 using one of the containerd v1.6.0 betas. it wouldn't be the first time we've upgraded ahead of a stable tag to pick up fixes. |
the backport is ready to merge containerd/containerd#6187 |
@Birdrock can you verify that the new image |
@aojea Seems to have done the trick!
|
What happened:
On kindest/node:v1.22.2, with images built with Pack & Paketo Buildpacks I run into the error
failed to create containerd container: create container failed validation: containers.Labels: label key and value greater than maximum size (4096 bytes), key: io.buildpa: invalid argument
.What you expected to happen:
Expected containers to create successfully. Using kindest/node:v1.22.1 successfully starts containers.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Images built with Paketo Buildpacks tend to have a highly populated
Config.Labels
and many layers. This particular issue was previously reported and had a fix applied. It is referenced in v0.9.0 breaking changes.Environment:
kind version
):kubectl version
):docker info
):/etc/os-release
):The text was updated successfully, but these errors were encountered: