-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 non-CRUD subresources (like pod logs) #452
Comments
/kind feature |
We had some plans for supporting subresources, but haven't gotten around to them yet. If you put forth a proposed design, I'd be happy to take a look. We'd have to add support for the wonky streaming that logs uses, since right now the client just deals with CRUD. |
/priority backlog |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
So, we'll get generic subresource support eventually, but non-CRUD subresources need to be handled specially |
cc #172 (which is mainly for CRUD subresources ATM) |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
/lifecycle frozen |
…ctions updated the version in installation instructions
/help |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind design |
/help |
I am also interested in this |
is there any workarouds? |
You can use client-go instead. |
It is hard to keep two clients, I think. It will be better if we support it in controller-runtime. |
Is there any progress on this issue? |
👀 |
Is it ready or still in the design phase? |
Nothing changed. |
+1 |
Just fyi, the only thing that |
Hi I am one of the maintainers @kubeflow
We are using kubebuilder to implement some CRDs for Machine Learning/Deep Learning workloads. We meet some problems with the client in controller-runtime.
We need to get the logs of pods using the client, But It seems that controller-runtime client has a higher level abstraction on top of Kubernetes client. Do we have a plan to support expansion (e.g. https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go) for the client? Or is there any suggestion to do it with controller-runtime client?
Now we have to create a Kubernetes client and use this to get pod logs.
I'd appreciate it if anyone could help me.
Thanks 🥂 🍻
The text was updated successfully, but these errors were encountered: