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

Is there a way to co-locate the camel-k-operator, builder and PV in the same node #924

Closed
asifdxtreme opened this issue Sep 5, 2019 · 3 comments
Labels
status/waiting-for-feedback Needs some feedback

Comments

@asifdxtreme
Copy link
Member

Say I have a multi-cluster K8s env and I have a local storage provisoner which provisions a volume in a particular node so is there a way I can instruct kamel install to make sure camel-k-operator/builder/PV resides in that particular pod. I think we can do this by adding an extra config in kamel install for label selector but I am not sure if this will be the right thing to do. If the adding a new config for label selctor is the only way then I can submit a PR for that.

@asifdxtreme asifdxtreme changed the title Is it a way to co-located the camel-k-operator and builder and PV Is there a way to co-located the camel-k-operator and builder and PV Sep 5, 2019
@asifdxtreme asifdxtreme changed the title Is there a way to co-located the camel-k-operator and builder and PV Is there a way to co-located the camel-k-operator, builder and PV in the same node Sep 5, 2019
@asifdxtreme asifdxtreme changed the title Is there a way to co-located the camel-k-operator, builder and PV in the same node Is there a way to co-locate the camel-k-operator, builder and PV in the same node Sep 5, 2019
@nicolaferraro
Copy link
Member

What's the problem you're trying to solve @asifdxtreme ? I think when you switch to creating builders that are external to the operator, they are automatically co-located with the data PV.

This is done e.g. to make sure a maven builder can pass data to a Kaniko pod in order to push a new image.

@lburgazzoli
Copy link
Contributor

@astefanutti can we close this one after all the changes we made to the builder ?

@lburgazzoli lburgazzoli added the status/waiting-for-feedback Needs some feedback label Jun 5, 2020
@astefanutti
Copy link
Member

Yes, collocation requirements for the builds are automatically handled by the operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/waiting-for-feedback Needs some feedback
Projects
None yet
Development

No branches or pull requests

4 participants