[WIP] add new command port-forward
What type of PR is this? /kind feature
What this PR does / why we need it:
add new command port-forward to forward one or more local ports to a pod
Which issue(s) this PR fixes: parts of #5249
Special notes for your reviewer:
$ karmadactl port-forward --operation-scope members service/metrics-server 443 -nkube-system --cluster member1
Forwarding from 127.0.0.1:443 -> 4443
Forwarding from [::1]:443 -> 4443
Does this PR introduce a user-facing change?:
`karmadactl`: add new command `port-forward` to forward one or more local ports to a pod
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign chaunceyjiang for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 63 lines in your changes missing coverage. Please review.
Project coverage is 31.21%. Comparing base (
65f686e) to head (e318322). Report is 14 commits behind head on master.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #5464 +/- ##
==========================================
- Coverage 31.25% 31.21% -0.05%
==========================================
Files 642 644 +2
Lines 44431 44494 +63
==========================================
Hits 13889 13889
- Misses 29534 29598 +64
+ Partials 1008 1007 -1
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 31.21% <0.00%> (-0.05%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.