Skip to content

Access sub-resources #416

Open
Open
@cben

Description

@cben

Kubernetes APIs include many sub-resources.
Currently Kubeclient ignores all of those in discovery and surprisingly we haven't seen much complaints.

This is a pre-emptive issue to collect whether there are any use cases for generic discovery support?

The actual API of sub-resources varies widely, and you can't know this from the discovery info 🎁

Conclusion?

So far, it sounds like generic discovery is pretty pointless, as one needs special-purpose code for each use case anyway?
If anyone has counter-examples, please post here! That's my goal in opening this issue!

P.S. Method naming problem

One of the reason Kubeclient ignores sub-resource is it translates resources like pods to method names like get_pods, delete_pod etc. If we stop ignoring them, it's not obvious how to name methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions