Is there a easy way to list all kubernetes objects related to an API version?
Lets say, API version apps/v1beta1
is getting deprecated and I want to know if I have any objects in my cluster using this version, how can I find such objects?
The reason I asked this question was that I was upgrading my kubernetes cluster from v1.15 to v1.16 and this brings a lot of breaking changes
The kubepug tool allowed me to easily find a list of resources that I need to change to be able to upgrade seamlessly from 1.15 to 1.16
Edit: Another alternative is pluto command line tool to get information about resources which might have deprecated or removed API versions. This is helpful specially if you use helm extensively since pluto can look at helm state.