-
Notifications
You must be signed in to change notification settings - Fork 500
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
refactor so that using the PD API avoids unnecessary imports #618
refactor so that using the PD API avoids unnecessary imports #618
Conversation
PD API no longer imports Kubernetes and the CRD. In the create-statefulset-immediately PR this reduced the binary by ~20M
@tennix the size reduction can only be seen on the create-statefulset-immediately PR for the wait-for-pd binary. It was requested that I make this a separate PR. We could use this same technique for the discovery service and see it there also. |
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.
LGTM
@weekface PTAL |
the |
What directory should it be placed it? @weekface |
Any other directories other than |
@weekface okay, directories are moved. If you come up with a better idea feel free to move or name them something else. |
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.
lgtm
/run-e2e-tests |
/run-e2e-tests |
549138a
to
0022a08
Compare
/run-e2e-tests |
/run-e2e-tests |
The PD API no longer imports Kubernetes and the CRD.
In the create-statefulset-immediately PR this reduced the new wait-for-pd binary
by ~20M
Tests
Code changes
Does this PR introduce a user-facing change?:
No