A Kubernetes resource is a persistent API representation of an entity or deployment construct in a cluster. You create, inspect, and modify resources through the Kubernetes API. Pods, Deployments, Services, and nodes are all represented this way; resources can describe desired configuration or expose current status. section 3.1.2
A typical stateless web application uses several related resources: a Pod groups containers and provides Kubernetes’ scheduling unit, a Deployment manages a group of Pods, and a Service handles networking. Kubernetes can create, restart, and terminate containers together according to the resource definitions. section 3.1.2
Managing configuration and cleanup
Capture resource configuration in files so that resources can be recreated without remembering manual changes. Delete an individual resource with kubectl or remove all resources described by a file or directory; deleting a Deployment also deletes the Pods it manages. section 3.2.8




