Process Flow - Creating Deployments with YAML
Write YAML file
kubectl apply -f file.yaml
Kubernetes API Server receives
Deployment object created
ReplicaSet created
Pods created and running
Deployment ready
The flow starts with writing a YAML file, then applying it with kubectl, which creates a Deployment object. Kubernetes then creates ReplicaSets and Pods until the Deployment is ready.