Container image for running the K8s.io "KinD" tool inside a Sysbox container.
10K+
This image can be used to deploy K8s.io KinD inside a Sysbox container.
NOTE: this is not the image for the Sysbox container. This is an image for the containers that the KinD tool will create inside the Sysbox container. The KinD tool is itself running inside the Sysbox container, and uses this image to create the K8s nodes that form the KinD cluster.
Normally KinD uses its own kindest/node image, but older versions of that image carry a version of the OCI runc (< 1.0.0-rc92) that does not work well inside rootless environments (i.e., inside the Linux user-namespace), as is the case when running inside Sysbox containers.
In addition, some versions of kindest/node have a requirement for cgroups v2 to be enabled on the host when a rootless environment is detected. This requirement is not applicable for Sysbox containers, as Sysbox uses a technique to ensure proper cgroup delegation using cgroups v1 (or v2).
To work-around this, the nestybox/kindestnode image (this repo) incorporates the required fixes.
We expect nestybox/kindestnode to be a temporary image: once the official kindest/node image picks up the patches (soon), the need for this image will disappear.
The Dockerfiles can be found here: https://github.com/nestybox/dockerfiles/tree/master/kindestnode.
For example, there is another image called nestybox/kindind that you can use for the Sysbox container. It comes with Ubuntu + Docker + KinD:
$ docker run --runtime=sysbox-runc -it --rm -P --name=syscont --hostname=syscont nestybox/kindind
admin@syscont:~$ kind create cluster --image=nestybox/kindestnode:v1.18.19
That's it! With this you'll get a full K8s cluster (thanks to KinD) deployed in Docker containers, all of which are running inside a single, well isolated (rootless) Sysbox container or pod.
More info at www.nestybox.com.
Content type
Image
Digest
Size
409 MB
Last updated
over 4 years ago
docker pull nestybox/kindestnode:v1.21.2