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

Using the cluster-manager underlying API as a library #626

Closed
orendain opened this issue Jun 11, 2019 · 4 comments
Closed

Using the cluster-manager underlying API as a library #626

orendain opened this issue Jun 11, 2019 · 4 comments

Comments

@orendain
Copy link

orendain commented Jun 11, 2019

It'd be great to use the cluster-manager project as a library (SeldonDeploymentUtils, and SeldonDeploymentOperator.DeploymentResources, for example, would give us a way of having Kubernetes-API-native Seldon objects to play with and manually deploy/manage in our own k8s systems).

I didn't see a published way of doing this - but it'd be great to have exposed.

@ukclivecox
Copy link
Contributor

The cluster-manager has been replaced by the seldon-operator in release 0.3.0.

Can you expand on what you are looking for? Are you using Java and want to use some of the functionality in the Java Cluster Manager?

@orendain
Copy link
Author

We're using Java to manage our Kubernetes cluster by way of an in-house management library we've written. We use a Kubernetes client API to create and launch deployments. Ideally, we'd like to build/launch Seldon resources from within our java environment.

At the moment, we're resorting to calling kubectl apply -f seldon-template.json under the hood for deployment (and configuring the template via JSON transformations), but it'd be great to do something a bit more like: kubernetesClient.deploy(new SeldonDeployment(myConfig));.

Thanks for the info on seldon-operator - I had missed that! 😃

@ukclivecox
Copy link
Contributor

ukclivecox commented Jun 12, 2019

We are planning to remove the cluster-manager code. However, there could be a use case for a Java API library based on the core code you mention to allow Java users to create SeldonDeployments directly. We would be happy to have a PR for this if you are interested.

@orendain
Copy link
Author

Thanks a lot - I'll bring this back to the team and see if anything comes from it. It's likely that our kubectl backend workaround will do for the time being, but if our integration with Seldon increases we may have to put something together.

agrski pushed a commit that referenced this issue Dec 2, 2022
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

2 participants