Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.
This repository was archived by the owner on May 3, 2022. It is now read-only.

Forget items with wrong clusters from the queues #329

@parhamdoustdar

Description

@parhamdoustdar

The user doesn't specify clusters by name. It's Shipper which decides the clusters that a Release should end up on. So, when we are processing an item and a Cluster is not found, one of two things could be happening:

  1. A user or an automated process has messed with our annotations, or
  2. The Cluster object has been removed.

In either case, this object is not valid and should be removed from the queues instead of being retried.

However, in the second case, there is a chance that the Cluster was removed in error. In that case, the Cluster object will be re-created by a user or an automated process. When that Cluster object is added, we can scan the existing Releases, find Releases that had been scheduled on a cluster with the same name, and enqueue those Releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions