Declarative configuration describes the desired Kubernetes end state rather than prescribing an ordered sequence of commands. Kubernetes determines the path to reach that state. section 1.10 section 1.9
Use declarative configuration to:
- Store human-readable YAML manifests in version control for documentation, change tracking, and collaboration. section 1.9
- Specify the end state without managing command order or every operation required to reach it. section 1.9
- Submit configuration to the Kubernetes API and let it choose the path toward the requested state. section 1.9
Create a Pod from a manifest
Define a Pod in my-pod-manifest.yaml with apiVersion, kind, metadata, and a container image, then run `kubectl create -f my-pod-manifest.yaml`. Kubernetes reports `pod/nginx created`. section 1.9





