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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume mounts for remote k8s builds with buildkit or kaniko #2910

Open
nethi opened this issue Oct 27, 2024 · 1 comment
Open

Volume mounts for remote k8s builds with buildkit or kaniko #2910

nethi opened this issue Oct 27, 2024 · 1 comment
Labels
kind/bug Something isn't working

Comments

@nethi
Copy link

nethi commented Oct 27, 2024

What happened?
I have been successfully using kaniko to build images in k8s cluster. To improve performance, I see several options on kaniko to pre-warm the build cache of base images, separate mount directory for temporary files etc. However, there doesn't seem to be a way to configure these in devsoace kaniko build configuration.

I haven't used buildkit yet, but looking at documentation, I don't see how to mount volumes with buildkit either.

What did you expect to happen instead?
Some way to mount additional volumes in the build image for kaniko and buildkit.

How can we reproduce the bug? (as minimally and precisely as possible)

My devspace.yaml:

version: ...
...

Local Environment:

  • DevSpace Version: [use devspace --version]
  • Operating System: windows | linux | mac
  • ARCH of the OS: AMD64 | ARM64 | i386
    Kubernetes Cluster:
  • Cloud Provider: google | aws | azure | other
  • Kubernetes Version: [use kubectl version]

Anything else we need to know?

@nethi nethi added the kind/bug Something isn't working label Oct 27, 2024
@zerbitx
Copy link
Collaborator

zerbitx commented Nov 7, 2024

Thanks for the report. This is more of a feature request than a bug as it would require a new configuration option. Would you be willing to submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants