Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃檹] Require Linux/ARM64 docker image for snyk/kubernetes-monitor #928

Open
odidev opened this issue Oct 26, 2021 · 6 comments
Open

Comments

@odidev
Copy link

odidev commented Oct 26, 2021

Describe the user need

Hi Team,

I am working on building snyk/kubernetes-monitor images for both amd64 and arm64 platform. Successfully built the docker image for both the platforms. I have modified build-images.sh script to use buildx for building and pushing and made changes in @jobs.yml file to remove pushing to Docker hub and packed it to config.yml file.

Changes Required: odidev@81ac320

Do you have any plans for releasing ARM64 images?

It will be very helpful if an ARM64 image is available. If interested, I will raise a PR.

@ivanstanev
Copy link
Contributor

ivanstanev commented Oct 26, 2021

Hey @odidev, if you're building ARM images I assume you would also want to run them in a cluster with ARM worker nodes? Currently the Monitor is not inspecting the worker nodes to understand which CPU arch they use (so it will always try amd64) and we don't have a flag to force one-arch-only scans other than the default amd64. Would you still need ARM images for the Monitor if that's the case?

@odidev
Copy link
Author

odidev commented Nov 10, 2021

@ivanstanev,
I worked on building and testing the monitor as per commands mentioned in Readme.md and the monitor works without any issues. Although I have made changes in some of the files so that the snyk-monitor and snyk-kubernetes-monitor could possibly use and detect arm64 as well as amd64 nodes.

Changes required: odidev@dff3d08

@ivanstanev
Copy link
Contributor

ivanstanev commented Mar 9, 2022

Hey @odidev is the request for running on Apple M1? Because I know the solution to this and it won't require building separate ARM images. Or do you have a use-case with Kubernetes worker nodes that are running the arm64 architecture?

@odidev
Copy link
Author

odidev commented Mar 10, 2022

@ivanstanev, I am working on adding Linux arm64 support to multiple projects and many repositories are using Kubernetes. This image helps for monitoring Kubernetes worker nodes that are running on the arm64 architecture.

So, it will be really helpful if this is supported for arm64 and the image is released in dockerhub.

@cristianmagana
Copy link

@ivanstanev We have a use case in our organization that runs graviton ARM instances in AWS and cannot use the amd instance types. Most of the k8s ecosystem supports the use of multi-arch images (running on amd/arm). Is there an ETA when snyk would be publishing either ARM images or multi-arch images?

@blockmar
Copy link

We have the same issue. EKS on Graviton.

Should not be too much of an ask just to build an arm64 image. Will be raising this in a Support ticket with our rep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants