You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to have an unbounded history of Revisions for a Configuration.
Actual Behavior
However when Revisions are removed from a Route, they transition to a Reserve state. This removes scheduled Pods but it leaves the K8s Service and Deployment. These configuration entities will accumulate over time and consume resources in the control plane.
We can either transition these Revision to a Retired state (which tears down the K8s Service and Deployment) or delete them after a time.
Currently the deployment is around when revision is in Reserved state but underlying K8s service is deleted.
Is the intention to delete deployment reference of Revision as well? Or delete deployment once it is accumulated past certain amount?
Activity
shashwathi commentedon Jul 10, 2018
/assign @shashwathi
shashwathi commentedon Jul 10, 2018
@josephburnett
Currently the deployment is around when revision is in
Reservedstate but underlying K8s service is deleted.Is the intention to delete deployment reference of Revision as well? Or delete deployment once it is accumulated past certain amount?
josephburnett commentedon Jul 10, 2018
It is a bug that the K8s Service is deleted. I'm implementing a two-phase deactivation, and fixing the bug in the process.
shashwathi commentedon Jul 30, 2018
/unassign @shashwathi
mattmoor commentedon Oct 31, 2018
This is handled by Revision GC now.
thanks @greghaynes