Skip to content

Use cluster endpoint at startup#90

Draft
piceri wants to merge 8 commits into
mainfrom
piceri/startup-cluster-endpoint
Draft

Use cluster endpoint at startup#90
piceri wants to merge 8 commits into
mainfrom
piceri/startup-cluster-endpoint

Conversation

@piceri
Copy link
Copy Markdown
Contributor

@piceri piceri commented May 29, 2026

This change allows deployment tracker to use the cluster endpoint at startup to send the current state of the cluster. This will reduce the load cause at startup when deployment tracker sends the state of the cluster one container at a time.

Change details:

  • While the informers sync, events are no longer added to the work queue
  • Once the informers have synced, use the pod informer to get the current list of running pods
  • Any new events are then added the the work queue
  • Current pod list is processed and deduped by deployment name + digest
  • Send the list to the cluster endpoint
    • If this fails, deployment tracker does not continue to run
  • Use the response to fill observed and unknown caches

piceri added 8 commits May 22, 2026 14:44
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Signed-off-by: Eric Pickard <piceri@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant