Skip to content

Record Delete in CreateExpectation#458

Merged
sanjaychatterjee merged 9 commits into
ai-dynamo:mainfrom
kangclzjc:uid-leak
Mar 3, 2026
Merged

Record Delete in CreateExpectation#458
sanjaychatterjee merged 9 commits into
ai-dynamo:mainfrom
kangclzjc:uid-leak

Conversation

@kangclzjc

@kangclzjc kangclzjc commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

We couldn't tell these two scenarios:

  1. informer can't see the created pod
  2. Pod is already deleted manually by kubectl delete when pod is pending

So in some case, deleted pod(manually by kubectl delete) can't be re-created again.

Which issue(s) this PR fixes:

Fixes #457

Special notes for your reviewer:

Does this PR introduce a API change?

Fix: Clears unfulfilled create expectations upon observing a delete event.

Additional documentation e.g., enhancement proposals, usage docs, etc.:


Comment thread operator/internal/controller/podclique/register.go Outdated
Comment thread operator/internal/controller/podclique/register.go Outdated
@kangclzjc kangclzjc changed the title Add pod delete handler Record Delete in CreateExpectation Mar 2, 2026
@kangclzjc kangclzjc added run-e2e kind/bug Categorizes issue or PR as related to a bug. and removed run-e2e labels Mar 3, 2026
Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
…or Pod watch

Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: kangclzjc <kangz@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Madhav Bhargava <madhav.bhargava@sap.com>
@sanjaychatterjee sanjaychatterjee merged commit 727df8b into ai-dynamo:main Mar 3, 2026
12 checks passed
Ronkahn21 pushed a commit to Ronkahn21/grove that referenced this pull request Mar 10, 2026
Fixes issue by clearing unfulfilled create expectations upon observing a delete event.

---------

Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: Madhav Bhargava <madhav.bhargava@sap.com>
Co-authored-by: Madhav Bhargava <madhav.bhargava@sap.com>
enoodle pushed a commit to enoodle/grove that referenced this pull request Mar 24, 2026
Fixes issue by clearing unfulfilled create expectations upon observing a delete event.

---------

Signed-off-by: kangclzjc <kangz@nvidia.com>
Signed-off-by: Madhav Bhargava <madhav.bhargava@sap.com>
Co-authored-by: Madhav Bhargava <madhav.bhargava@sap.com>
Signed-off-by: Erez Freiberger <enoodle@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconcile slow cause deleted pod never recreate

3 participants