-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
direct node access logs/portforward/exec/attach via kubelet debug interface #1428
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.
thanks a lot. this largely looks good to me, just a few nits on testing, top level interface and docs.
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.
some minor nits and questions, stuff is looking very good though
Btw, are you testing this with k3d locally? I tried it against my cluster and i can't get it to work out of the box and the port stuff needs a node filter:
|
I've tested with a simple command: |
Ah. It was my own command misuse. (It seems that possibly At any rate, I have now tried your example and it works 👍 |
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.
put some example comments for the type of documentation, feel free to take it verbatim. i am likely out most of tomorrow, but can fixup whatever things remain after that.
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Signed-off-by: Adrien <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1428 +/- ##
=======================================
+ Coverage 72.1% 72.2% +0.1%
=======================================
Files 75 78 +3
Lines 6470 6546 +76
=======================================
+ Hits 4663 4722 +59
- Misses 1807 1824 +17
|
Signed-off-by: Adrien <[email protected]>
Went through the pr and tried to clean up the documentation a bit further. I have a commit you can cherry-pick at 237e78d if you are happy with it. Then i am happy to send this through :-) |
since it shows up in `Client::` impls it should have caveats. have linked to alternatives, prefixed the names with kubelet_ (which is a little redundant, but it helps here). also documented and split up a few related things i found with just doc. Signed-off-by: clux <[email protected]>
LGTM :) thank you ! |
🙏 BTW, don't know if you saw, we sponsored you because your library is really cool. Great job ! |
Ah, I assumed that might have been parts of your doing. Thanks a lot! 🙇 Feel free to add yourselves to kube.rs/adopters when/if you feel comfortable with that. and thanks again for the PRs! |
Adding support for kubelet debug handlers as described in #1425
These methods require a
kubelet-debug
feature flag.