Closed rhuss closed 7 years ago
I think we can tune the revisionHistoryLimit
on the DC definition to remove old RCs, but that would mean no rollback - I don't think we're using that anyway are we? I'll send in a PR for discussion.
No, a 'rollback' is always a new deployment. Actually we do not keep to any revison as we can recreate everything from our history. And we are using a recreate policy and only one pod, we can get rid of it completely.
When an integration changes and gets redeployed, a new ReplicationController is created, but the old RC is not deleted. Not exactly sure, whether this should be done manually or is a task for OpenShift.
Nevertheless, this leads that we run out of RC object count quota quite quickly on our production cluster (quota is 20 RC over all apps).
@jimmidyson any idea how to tune this openshift-wise ?