Pluto
A cli tool to help discover deprecated apiVersions in Kubernetes
..., but this is fraught with danger. If you ask the API-server to give you deployments.v1.apps, and the deployment was deployed as deployments.v1beta1.extensions, the API-server will quite happily convert the API version and return a manifest with apps/v1. This is fairly well outlined in the discussion of this issue.