Tool to map labels to selectors cluster-wide (out of the box)?

za flag

Is there a tool that can show me a mapping of selectors to labels and the resources to which those mappings are meaningful cluster-wide?

It seems to me that something like such a tool would be helpful to troubleshoot or just reference "connections" in one's cluster assuming selectors exist for labels. If selectors don't exist for a given or set of labels then just seeing the labels could also be interesting.

Perhaps there's some sweet sweet kubectl templating-fu one could use to do this?


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.