Skip to content

add node record pod info#451

Merged
archlitchi merged 1 commit into
Project-HAMi:masterfrom
lengrongfu:fix/pod-allocate-error
Sep 2, 2024
Merged

add node record pod info#451
archlitchi merged 1 commit into
Project-HAMi:masterfrom
lengrongfu:fix/pod-allocate-error

Conversation

@lengrongfu

Copy link
Copy Markdown
Member

What type of PR is this?

What this PR does / why we need it:
Add hami.io/bind-pod-info annotation, to record current allocate device pod.

Which issue(s) this PR fixes:
Fixes # #404

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Comment thread pkg/util/util.go Outdated
Comment thread pkg/util/nodelock/nodelock.go Outdated
@lengrongfu lengrongfu force-pushed the fix/pod-allocate-error branch from 8af0904 to f6dd649 Compare August 30, 2024 09:41
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
@lengrongfu lengrongfu force-pushed the fix/pod-allocate-error branch from f6dd649 to b91560b Compare August 30, 2024 09:45
@lengrongfu

Copy link
Copy Markdown
Member Author

Use new annotation key, pod can success scheduler.
image

image

@lengrongfu

Copy link
Copy Markdown
Member Author

@chaunceyjiang PTAL

@archlitchi

Copy link
Copy Markdown
Member

/lgtm

@archlitchi archlitchi merged commit 6683c37 into Project-HAMi:master Sep 2, 2024
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