Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pod and node annotation for gpu usage info #96

Merged
merged 2 commits into from
Feb 16, 2022
Merged

add pod and node annotation for gpu usage info #96

merged 2 commits into from
Feb 16, 2022

Conversation

Fizzbb
Copy link
Collaborator

@Fizzbb Fizzbb commented Feb 14, 2022

No description provided.

@Fizzbb Fizzbb requested a review from hxhp February 14, 2022 23:53
Copy link
Collaborator

@hxhp hxhp left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor comments.

@@ -0,0 +1,9 @@
FROM debian:stretch-slim
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can create the build directory in the Makefile and put the Dockerfile in upper level directory?

@@ -0,0 +1,2 @@
sudo docker build -f Dockerfile -t centaurusinfra/alnair-device-plugin:ann .
Copy link
Collaborator

Choose a reason for hiding this comment

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

add the user to the docker group instead of using sudo? also the tag needs to be consistent with our release?
Not sure this script is needed for now.

@@ -0,0 +1,3 @@
.PHONY: build
build:
go build -o build/bin/alnair-device-plugin cmd/alnair-device-plugin/main.go
Copy link
Collaborator

Choose a reason for hiding this comment

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

add "mkdir -p build/bin" ?

Comment on lines +45 to +47
// if err != nil {
// config, err = clientcmd.BuildConfigFromFlags("", "/etc/kubernetes/scheduler.conf") //use the default path for now, pass through arg later
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

no longer needed?

@Fizzbb
Copy link
Collaborator Author

Fizzbb commented Feb 16, 2022

Address the above issues with a new PR.

@Fizzbb Fizzbb merged commit e21db0f into main Feb 16, 2022
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.

2 participants