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
Add kubectl ko log #2451
Add kubectl ko log #2451
Conversation
log(){ | ||
component="$1" | ||
sub_component="$2" | ||
tail_lines=${3:-100} |
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.
We need a way to collect all lines.
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.
fixed
dist/images/kubectl-ko
Outdated
@@ -26,8 +26,14 @@ showHelp(){ | |||
echo " env-check check the environment configuration" | |||
echo " tuning {install-fastpath|local-install-fastpath|remove-fastpath|install-stt|local-install-stt|remove-stt} {centos7|centos8}} [kernel-devel-version] deploy kernel optimisation components to the system" | |||
echo " reload restart all kube-ovn components" | |||
echo " log {kube-ovn|ovn|ovs|linux} {all|sub_component...} [tail_lines] |
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.
Need a short hand to collect logs for all components
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.
fixed
89fce3c
to
d2cce41
Compare
61e608c
to
41e3714
Compare
54f0784
to
503bc94
Compare
name: kubectl-ko-log | ||
path: kubectl-ko-log.tar | ||
name: k8s-conformance-e2e-ko-log | ||
path: k8s-conformance-e2e-ko-log.tar |
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.
path: k8s-conformance-e2e-ko-log.tar | |
path: k8s-conformance-e2e-${{ matrix.mode }}-${{ matrix.ip-family }}-ko-log.tar |
ce0594d
to
75778b4
Compare
What type of this PR
Examples of user facing changes:
Which issue(s) this PR fixes:
Fixes #2400