Summary
There are many types of resource deployments when it comes to Kubernetes and often, there’s no right or wrong answer to which you choose. The only time that there’s a true right or wrong answer is depending on the deployment. If you have a stateful application, you want to use a StatefulSet. There’s no mystery as to which controller you should be using and there’s no good or bad. It simply depends on the type of application and workload you need to deploy and manage.
In the next chapter, we’ll be diving a little bit deeper into different types of deployments from a more advanced perspective.