-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 . |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" ?
// if err != nil { | ||
// config, err = clientcmd.BuildConfigFromFlags("", "/etc/kubernetes/scheduler.conf") //use the default path for now, pass through arg later | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no longer needed?
Address the above issues with a new PR. |
No description provided.