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
nfd-worker: split out gRPC connection handling #552
nfd-worker: split out gRPC connection handling #552
Conversation
This PR is targeting #525. There are other ways (probably better and more extensive) to make the code re-usable. But, this was a quick one that I came up with in the limited time I had. |
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
99ee151
to
364dced
Compare
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too. Code Cherry-picked from PR: kubernetes-sigs#552 Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com> Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Refactor the worker code and split out gRPC client connection handling into a separate base type. The intent is to promote re-usability of code for other NFD clients, too.
364dced
to
112744b
Compare
Rebased. Any comments @swatisehgal? This is targeting your work so we could merge this if you see it good and useful |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @swatisehgal |
We can improve on the code re-use later on, if needed |
Refactor the worker code and split out gRPC client connection handling
into a separate base type. The intent is to promote re-usability of code
for other NFD clients, too.