-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
list custom object for all namespaces #1377
Comments
/assign |
I think https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/CustomObjectsApi.md#list_cluster_custom_object is what you want. /close |
@roycaihw: Closing this issue. 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. |
@roycaihw list_cluster_custom_object is to list cluster scoped custom objects, and the request is to have list_custom_object_for_all_namespaces similar to list_service_for_all_namespaces for services. Can you please reopen the issue? It would be nice if python client supports listing namespace scoped custom objects in all namespaces. FYI, java client has a similar issue: kubernetes-client/java#941 |
Please disregard my comment above. list_cluster_custom_object worked for namespace scoped custom objects. |
@jparklab ah you're right, I misread the original issue. Although |
@roycaihw I created issue kubernetes-client/gen#268 |
What is the feature and why do you need it:
Similar to the core_v1_api, the custom_objects_api should have a method
list_custom_object_for_all_namespaces
Describe the solution you'd like to see:
list_custom_object_for_all_namespaces
calls endpoint/apis/{group}/{version}/{plural}
to get custom objects in all namespaces.The text was updated successfully, but these errors were encountered: