camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Ability to define K8s toleration for Builder pod

Open vkrejcirik opened this issue 1 year ago • 5 comments

Requirement

I'm trying to define K8s toleration for Builder pod when using Native build. I want to dedicate nodes for Native builds. Builder trait allows to define node selector, but not toleration.

Problem

When having nodes with taints, I cannot schedule Builder pods on these nodes.

Proposal

I suggest adding new parameter to Builder trait which would allow adding toleration to the Builder pod.

Open questions

No response

vkrejcirik avatar Apr 11 '24 10:04 vkrejcirik

Thanks for reporting. If you think you can contribute by any chance, just let us know.

squakez avatar Apr 11 '24 11:04 squakez

I think I can contribute on this one. Let me know if you can give me some more information where to start, it would speed up my work.

Thanks, Vlad

On 11. 4. 2024, at 13:05, Pasquale Congiusti @.***> wrote:

Thanks for reporting. If you think you can contribute by any chance, just let us know.

— Reply to this email directly, view it on GitHub https://github.com/apache/camel-k/issues/5354#issuecomment-2049441395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFNNQHTS5EJL5UUBB536EDY4ZU53AVCNFSM6AAAAABGCBPCCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGQ2DCMZZGU. You are receiving this because you authored the thread.

vkrejcirik avatar Apr 12 '24 07:04 vkrejcirik

I think I can contribute on this one. Let me know if you can give me some more information where to start, it would speed up my work. Thanks, Vlad

Cool. So, probably you can mimic the work done in https://github.com/apache/camel-k/pull/4968 where we were adding the NodeSelector. The logic would be the same, but, with the new field instead. Feel free to ask any support here or in zulip chat [1] where we can have a quicker interaction.

[1] https://camel.zulipchat.com/#narrow/stream/257299-camel-k

squakez avatar Apr 12 '24 07:04 squakez

@squakez I will look into this one if that's okay.

vkrejcirik avatar Apr 19 '24 15:04 vkrejcirik

I'm just starting to work on this one..

vkrejcirik avatar May 10 '24 08:05 vkrejcirik