Let's summarize what we learned about deployments.
A deployment provides replication and scaling capabilities for a set of pods.
Those pods are oftentimes referred to as replicas.
Just make sure when you create the deployment that label selection matches with the key
value pair assignment in the pod template.
Now we can scale the number of replicas manually by simply assigning a different number, or
we can use a horizontal pod autoscaler to automatically scale the number of replicas
based on certain resource thresholds, for example, CPU and memory.
We can easily change the configuration of the pod template and the underlying replicas
that we'll take care of, rolling out those changes across all the different pods.
And just make sure that if you're using the different deployment strategies, you kind
of know how to apply them in practice.
We talked about the blue-green deployment and the canary deployment in more detail.
So definitely try those out hands-on and get a handle on how to configure them in practice.