rootless-containers / usernetes

Kubernetes without the root privileges

Home Page:https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2033-kubelet-in-userns-aka-rootless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing on ARM

vsoch opened this issue · comments

I'm building a node for arm, and I noticed the Dockerfile is hard coded to a sha, which I would suspect is for AMD64. I am wondering if it would make sense to remove the sha pin and allow for the platform to be selected instead? What I'm doing now is trying out an arm sha and can report back. It does look like the rest of the Dockerfile is going to account for arm (e.g., CNI plugins). I suspect there might be more issues though.

We're in business! 🥳
image

I used this digest.

ARG BASE_IMAGE=docker.io/kindest/node:v1.29.1@sha256:b106f306d3728848d91c79929005c6295f3365da713734345c74325abf92139f

No other issues so far.

ARG BASE_IMAGE=docker.io/kindest/node:v1.29.1@sha256:a0cc28af37cf39b019e2b448c54d1a3f789de32536cb5a5db61a49623e527144

The default digest should work on arm64 too
https://explore.ggcr.dev/?image=docker.io%2Fkindest%2Fnode%3Av1.29.1%40sha256%3Aa0cc28af37cf39b019e2b448c54d1a3f789de32536cb5a5db61a49623e527144

Ah ok! I should have just tried it instead of thinking too hard about it. Thanks!