Open hbelmiro opened 3 weeks ago
/area pipelines
Is it possible to create a resource from yaml in the Kubeflowv2 version ? I checked the links but I am not able to understand how to achieve below code in KFPV2. Thank you in advance.
deploy_step = dsl.ResourceOp(
name="seldondeploy",
k8s_resource=seldon_config,
attribute_outputs={"name": "{.metadata.name}"})
@thesuperzapper, it seems like we already have a v2 page for this. https://www.kubeflow.org/docs/components/pipelines/user-guides/core-functions/platform-specific-features/
@hbelmiro I am sorry but I am not able to find an example to load a k8s yaml file. I am very new to Kubeflow and still trying to understand. My end goal is to use seldon deployment step in the pipeline and deploy the seldon crd yaml from KFP pipeline as mentioned in below example for v1.
Its quite different in V2 as it uses the
kfp[kubernetes]
library:I also note that there seem to be a few significant features missing (namely the ability to manipulate arbitrary resources, like the old v1
ResourceOp
):We could suggest people use a Python component with the
kubernetes
python library, but that should be a decision for the @kubeflow/pipelines leads.Originally posted by @thesuperzapper in https://github.com/kubeflow/website/issues/3750#issuecomment-2148396967