Skip to content

create ownerrefs for resources that used to be reaped. #14133

Closed

Description

@deads2k

We can turn GC on by default for our resources, but we need a way to establish links for...

  • rc to dc
  • pod to rc
  • rolebinding to role
  • oathclientauthorizations to users
  • pod to build
  • build to bc

Since a connection can reasonably be disconnected, I don't think we want to use a controller to establish the links. We could use oadm migrate to set the initial links and controller driven links are easy to get right as we move forward, but links like rolebindings to roles are harder to establish.

Some relationships cannot be GC'ed since they are updated not deleted: removing users from rolebindings as a for instance. This means that some form of reapers need to stick around.

Activity

  1. added this to the 3.6.0 milestone on May 10, 2017
  2. pweil- commented on May 10, 2017

    @pweil-

    @mfojtik added cross link to your Trello card

  3. 0xmichalis commented on May 10, 2017

    @0xmichalis
    Contributor

    pod to rc should already be handled by the upstream rc controller.

  4. 0xmichalis commented on May 10, 2017

    @0xmichalis
    Contributor

    bc to build is supposedly already done

  5. mfojtik commented on May 29, 2017

    @mfojtik
    Contributor

    @enj @deads2k i guess we want to handle the rolebinding to role and oathclientauthorizations to users by oadm migrate? @enj something you want to look at? (assuming you are familiar with the oadm migrate code ;-)

  6. tnozicka commented on Jun 1, 2017

    @tnozicka
    Contributor

    rc to dc just merged #14322

  7. mfojtik commented on Jun 6, 2017

    @mfojtik
    Contributor

    @bparees do we have build -> pod ownerRef? I assume we do?

  8. bparees commented on Jun 6, 2017

    @bparees
    Contributor

    @bparees do we have build -> pod ownerRef? I assume we do?

    not yet. currently the build controller deletes the pod when the build is deleted. But this PR is adding them:
    https://github.com/openshift/origin/pull/14289/files#diff-037e7619679bf13f352b3eefec32d9ecR222

  9. self-assigned this
    on Jun 9, 2017
  10. removed their assignment
    on Jun 19, 2017
  11. removed their assignment
    on Jun 20, 2017
  12. modified the milestones: 3.6.0, on Oct 1, 2017
  13. openshift-bot commented on May 3, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  14. added
    lifecycle/stale
    on May 3, 2018
  15. added
    lifecycle/frozen
    and removed
    lifecycle/stale
    on May 4, 2018
  16. soltysh commented on Mar 3, 2020

    @soltysh
    Contributor

    This should be solved by now.
    /close

  17. openshift-ci-robot commented on Mar 3, 2020

    @openshift-ci-robot

    @soltysh: Closing this issue.

    Details

    In response to this:

    This should be solved by now.
    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Metadata

Metadata

Labels

component/restapikind/post-rebaselifecycle/frozenpriority/P1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions