-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support K8 resource YAML config as input for DSL components #756
Comments
CRs are somewhat limited as components. |
Does this do what you want to accomplish?
|
Thanks for the reply! With this, it solves the problem of deploying YAML. However, we don't get the associated logs / status for the deployment, we'll need to have another container that fetches the status information for the CRs. Managing k8s objects and CRs natively from the DSL should be a long term solution. If we could do that by wrapping around the k8s python client or Argo YAML instead rebuilding every feature, it would be quite helpful. For example, for volume usage.
Then to define and use the volume, we could do something like:
It makes something verbose and long winded to be more readable and easy to write. This is one approach I guess. There's still no way to "see" how these created / attached resources behave in our pipeline. Or even if they exist. So it would be good to add those kind of features. TL;DR - Allow for a way from the DSL to create and manage k8s resources in a more readable and less verbose manner. One way is to abstract the k8s python client from the DSL. |
@swiftdiaries, would something like this work:
|
Note that ksonnet is being archived (https://ksonnet.io/) so we probably won't spend time integrating the DSL with ksonnet. |
@swiftdiaries, Hello! It's been some time, so let's see what we've got and what more do we need to close this issue. Regarding the volume usage you mention in this comment:
As far as the K8s resources are concerned, which is the main reason of this issue, I think it is covered by Finally, #879, which introduced sidecars, enabled the use of full K8s specifications through its client for containers. So, do these cover this issue? Is there something I'm missing? |
@elikatsis I think this can be closed :) |
* Update README.md typos. Signed-off-by: Jenna Ritten <[email protected]> * Update README.md typos. Signed-off-by: Jenna Ritten <[email protected]> * Update README.md Co-authored-by: Tommy Li <[email protected]> * Apply suggestions from code review Co-authored-by: Tommy Li <[email protected]>
Part of issues related to having better support for k8s resources in Pipelines.
It'd better if we can re-use existing implementations for creating individual components.
For example, TFJob and most CRDs in Kubeflow already have a ksonnet prototype defined. If we could use these as input to create components, it'd be really cool.
Another use case is when you want to have features from Argo that are not yet implemented in Pipelines DSL. Like the docker-in-docker workflows for Seldon: YAML
Related issue: #677
Related discussion: https://kubeflow.slack.com/archives/CE10KS9M4/p1548777905172300
The text was updated successfully, but these errors were encountered: