Exploring the Kubernetes API

kubectl api-resources
Will show the different resources that could be created, including the API group they come from

kubectl api-versions
Will show different objects, the API they come from, as well as the current version. In short, it shows the APIs versions

kubectl explain
Allow to browse though the different objects in the API and explore how they are constructed. This is a key skill for discovering how to set up the YAML code where objects are defined.