Summary
Over the course of this chapter, we have applied our skills to be able to leverage StatefulSets in our example application. We have looked at how to think about running stateful portions of our software programmatically and how to refactor applications to leverage that change in state persistence. Finally, we learned how to create and run Kubernetes StatefulSets that will allow us to run stateful components in our cluster and make guarantees about how that workload will be run.
Being equipped with the skills needed to manage stateful components on our Kubernetes cluster is a major step in being able to operate effectively in many real-world applications that you are likely to come across.
In the next chapter, we're going to talk more about data-driven application orchestration with the use of Metrics Server, HorizontalPodAutoscalers, and ClusterAutoscaler. We will learn how these objects help us respond to varying levels of demand on our application running on a...