Updating Multiple Deployments
Explore how to use label selectors to update multiple Kubernetes deployments at once. Understand how selector labels identify deployments and enable rolling out new releases smoothly across several Pods. Gain practical experience updating application containers by managing labels for effective deployment control.
We'll cover the following...
The use of selector labels
Even though most of the time we send requests to specific objects, almost everything is happening using selector labels. Previously, when we updated the Deployments, they looked for matching selectors to choose which ReplicaSets to create and scale. They, in turn, created or terminated Pods using the matching selectors.
Note: Almost everything in Kubernetes is operated using label selectors. It’s just that sometimes this phenomenon is obscured from us.
We do not have to update an object only by specifying its ...