In case of one pod is dead, Scheduler(Through API ) is schedule one pod in deployment mention 2 pods req.
Mantra - Everything in k8s is manifests files
Whole things like pod, services, deployment,.etc Everything is K8S is either command or manifests ...