Hi all, I am trying to do a custom deployment on K...
# ask-community
z
Hi all, I am trying to do a custom deployment on Kubernetes as a Prefect task. I see that prefect comes with a
CreateNamespacedDeployment
task for standard k8s deployments, but I want to deploy a Seldon deployment where the crd starts with
Copy code
apiVersion: <http://machinelearning.seldon.io/v1|machinelearning.seldon.io/v1>
kind: SeldonDeployment
Does anyone have an idea how i can do this deployment as a prefect task? Thanks so much!
m
Hello! Task
CreateNamespacedDeployment
creates only deployments using appsv1 api, but in your case it's a custom object, which needs a client using CustomObjectsAPI, which is not available right now. Can't promise that it will be available sometime soon, we are open to community contributions though 🙂
👍 1
z
Thank you! Will look into that