Skip to content

RESTMapper doesn't support the same  #19941

@piosz

Description

@piosz

I created #19820 which adds to metrics api group types Pod and Node (which already exists in the default api group). Please correct me if I'm wrong but this case should be supported. Unfortunately when testing the mentioned change kubectl returns the following error:

error: unable to get RESTClient for resource 'nodes'

The problem is with MultiRESTMapper which iterates over mappers in arbitrary order.

Assigning @lavalamp for triage.

cc @kubernetes/goog-csi

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions