object kind
The manifest field that says what type of object a file describes, such as Pod, Deployment or Service.
In more detail
The kind plus the apiVersion select the schema the API server checks the file against. Changing kind from Pod to Deployment changes which controller, if any, will act on the object. A CRD can add new kinds of your own.
Example
kind: DeploymentRelated terms
- apiVersion — The manifest field that names which API group and version defines an object, such as v1 or apps/v1.
- Kubernetes object — A record stored in the cluster that describes one thing you want, such as a Pod, a Service or a Namespace.
- CRD — A CustomResourceDefinition: an object that teaches the API server a new kind, with its own name, group, scope and schema.
Taught in
- From Docker To Desired State — Kubernetes: Production-Grade Container Orchestration
- Deployments, ReplicaSets, Rollouts And Rollback — Kubernetes: Production-Grade Container Orchestration
- A Tiny CRD, Controller And The Operator Pattern — Kubernetes: Production-Grade Container Orchestration