syndesisio / syndesis-rest

The API for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis-staging.b6ff.rh-idev.openshiftapps.com/api/v1/
Apache License 2.0
6 stars 17 forks source link

RC gets not removed after a redeployment #739

Closed rhuss closed 7 years ago

rhuss commented 7 years ago

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 ?

jimmidyson commented 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.

rhuss commented 7 years ago

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.