Skip to content

Retire Revisions after no longer routable #1531

Closed

Description

@josephburnett

Expected Behavior

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.

Additional Info

#755

Activity

  1. shashwathi commented on Jul 10, 2018

    @shashwathi
    Contributor

    /assign @shashwathi

  2. shashwathi commented on Jul 10, 2018

    @shashwathi
    Contributor

    @josephburnett

    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?

  3. josephburnett commented on Jul 10, 2018

    @josephburnett
    ContributorAuthor

    It is a bug that the K8s Service is deleted. I'm implementing a two-phase deactivation, and fixing the bug in the process.

  4. shashwathi commented on Jul 30, 2018

    @shashwathi
    Contributor

    /unassign @shashwathi

  5. mattmoor commented on Oct 31, 2018

    @mattmoor
    Contributor

    This is handled by Revision GC now.

    thanks @greghaynes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/APIarea/autoscale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions