Standard Kubernetes API Resources
Let's list all the resources and APIs that are available in the Kubernetes cluster. Recall that everything we have used is defined as an API resource, and an API is a gateway through which we communicate with the Kubernetes server to work with that resource.
Get a list of all the current Kubernetes resources by using the following command:
kubectl api-resources
You should see the following response:
In the preceding screenshot, you can see that the resources defined in Kubernetes have an APIGroup
property, which defines what internal API is responsible for managing this resource. The Kind
column lists the name of the resources. As we have seen earlier in this topic, for standard Kubernetes objects such as Pods, the schema or definition of a Pod object is built into Kubernetes. When you define a Pod specification to run a Pod, this could be said to be analogous to...