So, lets say I have a DeploymentConfig
running and because of that a ReplicationController
which is eventually running a pod. If I updated the DeploymentConfig
, more than once (let's assume), more ReplicationControllers
would be created, and pods would be run by the one of the ReplicationController
.
Now if I have Deploymentconfig
details how do I figure out which ReplicationController
is actually managing the pods? One way I know is getting the deploymentconfig.status.latestVersion
and match that with the value of the annotation openshift.io/deployment-config.latest-version
of ReplicationController
. But is this the way people do it?