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

[feature/idea] Integrate kubernetes's models into kfp-kubernetes #9768

Open
cjidboon94 opened this issue Jul 20, 2023 · 9 comments
Open

[feature/idea] Integrate kubernetes's models into kfp-kubernetes #9768

cjidboon94 opened this issue Jul 20, 2023 · 9 comments

Comments

@cjidboon94
Copy link
Contributor

cjidboon94 commented Jul 20, 2023

Feature Area

/area backend
/area sdk

What feature would you like to see?

kfp-kubernetes is a library that aims to extend kfp v2 with kubernetes functionality. Currently the kfp-kubernetes package is still missing some key features imo:

Some of the implemented features of kfp-kubernetes are currently limited. For example, only secrets can be loaded as env vars/volumes while this could also be from a Config Map, a resource's field or an object's field: (via V1EnvVarSource/V1Volume respectively ) . Integration with the kubernetes package (as was the case with KFP v1) could facillitate this. The protos that kfp-kubernetes requires could be generated based on the OpenAPI spec. The methods in go/python for manipulating the objects would still need to be implemented. I believe integrating the models from the kubernetes python client package is a natural way for the kfp-kubernetes to grow in functionality and ability.

What is the use case or pain point?

  • It would enable different kind of Env var sources, tolerations and affinities would be easier to set/reused from the KFP v1.
  • Init_containers and sidecars can be again set (via V1Container).

Is there a workaround currently?

N/A


Love this idea? Give it a 👍.

@schrodervictor
Copy link

Is this already being worked or is it up for grabs? What is contribution guideline and workflow in case I volunteer to implement the tolerations model? We really need it for our project.

@pythonking6
Copy link

it is shocking that v2 pipelines would be released without this feature!

@roytman
Copy link
Contributor

roytman commented Dec 20, 2023

The above list of missing functionality can be extended by:

  • only secrets can be mounted as a volume, while this could also be from a Config Map
  • we cannot set an image pull policy
  • a secret to pull images

@cjidboon94
Copy link
Contributor Author

The above list of missing functionality can be extended by:

  • only secrets can be mounted as a volume, while this could also be from a Config Map
  • we cannot set an image pull policy
  • a secret to pull images

Added them to the list!

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Mar 16, 2024
@cjidboon94
Copy link
Contributor Author

Commenting as this issue is still relevant

@stale stale bot removed the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Mar 18, 2024
@rimolive
Copy link
Member

rimolive commented Apr 5, 2024

/lifecycle frozen

I'm trying to get the last issue PR and merge asap. The original contributor cannot keep contributing with it.

@cjidboon94
Copy link
Contributor Author

@rimolive Hey, I'm working on the node affinities backend + sdk implementation
#10671 this change is necessary and hoping to have the rest of the node affinity work done at end of this weekend and have a PR out

Pod (anti)affinity is I think less urgent

@rimolive
Copy link
Member

rimolive commented Apr 5, 2024

Thanks for contributing with this, @cjidboon94 !

Did you see #9913? It is different from your implementation. Just wanted to check if we're not missing anything.

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

6 participants