-
Notifications
You must be signed in to change notification settings - Fork 70
Adds the src scout utility to the CLI
#978
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
Conversation
- Prints all current resource allocations for each service (CPU, Memory, Storage) to the terminal
- Previously, you could only run `scout` on a k8s deployment - Now, by specifying the `--docker` flag, you can run against a docker deployment - Added unit tests for ResourcesK8s and ResourcesDocker
jdpleiness
left a comment
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.
On first pass this looks good overall. I would revisit the testing setup and whether or not to use mocking or if another approach would work.
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
- change package from resources to resource - renamed files accordingly - changed from if statement to switch statement. - deleted empty README.md
jdpleiness
left a comment
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 like everything as been addressed 🚀
LGTM!
The
src scoututility is a command that helps users manage resources. This PR:scoututility to the CLIresourcesubcommand, which prints resource allocations for all Sourcegraph servicesTest plan
Shipped with unit tests.