Skip to content

KUBE-1216: add provider id check to exclude node name reusing#188

Merged
ValyaB merged 83 commits intomainfrom
KUBE-1163-delete-with-provider-id
Jul 14, 2025
Merged

KUBE-1216: add provider id check to exclude node name reusing#188
ValyaB merged 83 commits intomainfrom
KUBE-1163-delete-with-provider-id

Conversation

@ValyaB
Copy link
Copy Markdown
Contributor

@ValyaB ValyaB commented May 27, 2025

No description provided.

@ValyaB ValyaB requested a review from a team as a code owner May 27, 2025 15:32
@ValyaB ValyaB changed the title KUBE-1163: [CheckNodeDeletedHandler] - add provider id check to exclude node name reusing KUBE-1216: [CheckNodeDeletedHandler] - add provider id check to exclude node name reusing Jun 25, 2025
@ValyaB ValyaB changed the title KUBE-1216: [CheckNodeDeletedHandler] - add provider id check to exclude node name reusing KUBE-1216: add provider id check to exclude node name reusing Jun 26, 2025
log.Info("node not found, skipping draining")
return nil
}
if err != nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we treat mismatch as if it was not found (i.e. skip drain; no error)? It is more consistent with how Delete handles this 🤔 And in case node was reused during DeleteNode in EP, we'd get error here, even though we couldn't really prevent it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me test with it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added does not match - skip returning error

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed tests

@ValyaB ValyaB merged commit ad43a14 into main Jul 14, 2025
4 checks passed
@ValyaB ValyaB deleted the KUBE-1163-delete-with-provider-id branch July 14, 2025 13:56
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.

3 participants