Learn Kubernetes: the control plane, pods, deployments and services, YAML manifests, kubectl commands, scaling, security and troubleshooting.
Write down how many copies you want in YAML, run kubectl apply -f, and it keeps them alive. A pod dies, another appears. Start with kubectl get pods and kubectl rollout undo.