A Kubernetes object is something that exists in a Kubernetes cluster. There are config files we can write, and these files are used to create Kubernetes objects.
For most Kubernetes objects we want to make use of, we are required to specify four fields.
apiVersion
to specify the API group we're using to create the objectkind
to specify the object type of our objectmetadata
to specify the name (and other data) of our objectspec
to specify the specification of our object, which is different for every kind of object
apiVersion
goes hand-in-hand with kind
. We specify the API group to make use of an object type that exist only within that API group.