The kind field identifies the type of Kubernetes API object described by a manifest. Together with apiVersion, it tells Kubernetes which object type and versioned schema the manifest uses. Common kinds include Node, Pod, Service, and Deployment. section 4.2.1
A Pod manifest
In this manifest, kind: Pod declares a Pod object. The surrounding fields then describe its name and desired contents: one container named kiada, using the luksa/kiada:0.1 image and listening on port 8080. section 5.2.1
Listing 5.1 A basic pod manifest file
apiVersion: v1 #1
kind: Pod #2
metadata:
name: kiada #3
spec:
containers:
- name: kiada #4
image: luksa/kiada:0.1 #5
ports:
- containerPort: 8080 #6
Inspect the complete minimal Pod manifest and see where kind appears alongside apiVersion, metadata, and spec. section 5.2.1
Use kubectl explain with a kind to inspect its available fields. For example, kubectl explain nodes shows the Node description and top-level fields; kubectl explain node.spec drills into the specification, while --recursive lists the full field structure. Specify --api-version when examining another version of the same kind. section 4.2.2
