Deployments, ReplicaSets, and Pods

Pods are not the only Kubernetes resources that takes advantage of, and expose, conditions. Deployments also use conditions to represent detail such as to the progress of a rollout of a code update, and the overall availability of the deployment.

The two conditions you will see when using Deployments are:

  • Progressing
  • Available

Available will be true when the minimum number of replicas of the underlying Pods is available (the default is 1). Progressing will be set when the ReplicaSets and their related Pods are created and as they come available.

Kubernetes uses a consistent pattern in how its internal resources are related to each other. As we discussed in an earlier chapter, Deployments will have associated ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.