Skip to content

Remove shared dependency from deployment trigger controllers #8696

Closed

Description

@0xmichalis

The image change and config change controllers are using the same generator to update deploymentconfigs. This has lead in problems like races and holes in our registry. We should remove the generator and push related bits to the related controllers.

cc: @ironcladlou @liggitt

Activity

  1. self-assigned this
    on Apr 30, 2016
  2. 0xmichalis commented on Apr 30, 2016

    @0xmichalis
    ContributorAuthor

    Actually the image change controller would still need to update both the spec and status of a dc. I really cannot see how can we avoid the hole in the registry once we split the calls to spec and status. Either that or we could have the image change controller update the spec and status separately.:/

  3. liggitt commented on Apr 30, 2016

    @liggitt
    Contributor

    I would expect the image change controller to just update the spec (change images, record desire to have another deployment) and the config change controller would act on that, trigger the deployment, and update status

  4. 0xmichalis commented on Apr 30, 2016

    @0xmichalis
    ContributorAuthor

    If we implement pausing right then we may not need the config change controller anymore. I would expect only one client of deploymentconfig/status - the main dc controller

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions