In this chapter, we will look at the various ways we can scale the deployment. After all, one of the primary benefits of kubernetes is its ability to dynamically scale pods based on the demands of the application’s usage; thus, it is an important concept to be learned.
ReplicaSets
One way to scale up pods is the use of the ReplicaSet concept of Kubernetes. As per the Kubernetes documentation,1 “ReplicaSet’s purpose is to maintain a stable set of replica Pods running at any given time.” ...