Open DnPlas opened 1 year ago
This is an interesting idea!
Are you thinking of:
Conceptually I like (1), but I don't know if it lets you get the relations correct. How would you establish relations between pieces of the kfp bundle to things in the kubeflow bundle (like kfp-ui to kubeflow-dashboard)? I don't think the syntax allows for it.
At a previous company we had a similar problem with dockerfiles, and ended up making a sort of mixin solution where the lower level pieces defined their own parts of the dockerfile and then a top level script aggregated them. It wouldn't be hard to do the same here where a generate-kubeflow-bundle.py
script pulled from a few source bundle.yaml files and created the kubeflow-bundle.yaml
The kfp-operators repository contains a bundle file that groups all KFP components, their dependencies, charm configurations, and relations. This information is then duplicated in the canonical/bundle-kubeflow bundle files. This can potentially cause issues with mismatching configurations and outdated information.
Proposal
To use the kfp-operators bundle file to build and publish a bundle that can be referenced when deploying Charmed Kubeflow.
Potenial tasks