Building Multi-Arch Container Image on Kubernetes (OD-1718)
andrzej opened 2 years ago

We were trying to configure building multi-arch container image on Kubernetes using OneDev and I do not see a way to do that without having access to Docker deployment. If I'm correct, on Kubernetes to build container image, we can either:

  • have docker running somewhere (provided by us) and use Build Docker Image step providing additional options (assuming executor will have access to the provided Docker deployment
  • use Build Docker Image (Kaniko) to use Kaniko for building images

With those two options, I do not see a way to build multi-arch image on Kubernetes (no Docker) without providing additional services, ie. having Docker running somewhere, as if I'm correct Kaniko is unable to build multi-arch images.

What approach to building multi-arch container images on Kubernetes cluster using OneDev would you suggest? Is there any other solution or approach that might allow us building mutli-arch container images on Kubernetes using OneDev? (We do have only a single architecture Kubernetes cluster).

  • Robin Shen commented 2 years ago

    OneDev can only build docker image via Kaniko on Kubernetes. Unless Kaniko supports that (as far as I know it does not), OneDev will not be able to build multi-arch docker image on Kubernetes.

    My suggestion would be to connect a separate agent to your OneDev server for building multi-arch images.

  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1718
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover