-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
openshift-diagnostics: package as oc alias #18149
openshift-diagnostics: package as oc alias #18149
Conversation
Makes `openshift-diagnostics` a symlink to `oc` (like `kubectl`) so that it can be packaged inside origin pods to be run from diagnostics. fixes openshift#18141
This is the approach I personally prefer for Looks like the bot assigned the world on this one. That wasn't me. |
/retest |
I agree with this approach as well. /lgtm cc @deads2k |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: juanvallejo, sosiouxme Assign the PR to them by writing The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
I'm -1 on this. Aliases and polymorphic commands have not served us well in the past. Why can't you be built separately or even be a different image. I don't see a strong reason to couple our diagnostics to the same release schedule as |
The binary can be built separately as it is now; that's the other PR. It just seems like a waste of space ( >100MB ) when everything it needs is already in the There are a number of benefits to reusing the existing image. First, no need to build, ship, track a separate RPM and separate image (which is no small job for RCM, security team, etc). Second, the image is likely to be present when the diagnostic calls for it (less user time spent waiting for it to pull; the whole reason we went with the deployer image). I think there would have to be a pretty compelling argument for the overhead to separate out this tiny function.
Diagnostics are in oc already. This is just another diagnostics client running in the pod. I don't see why we would want those on a separate release schedule.
Not sure what you mean... these aren't server bits either. |
In fact... since this command just runs some "special" diagnostics, I could do away with it and unify these with the existing diagnostics command instead. Just pull in #17773 (which lacks only an approver) and add hidden |
Yeah. I can go with subcommands under |
closed in favor of #18186 |
…cs-unify Automatic merge from submit-queue. openshift-diagnostics => diagnostics subcommands Builds on commit from #17773 (diagnostics: individual parameters). Removes `openshift-diagnostics` in favor of hidden `oc adm diagnostics` subcommands as proposed with #18149 (comment). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534513 and #18141
Makes
openshift-diagnostics
a symlink tooc
(likekubectl
) so thatit can be packaged inside origin pods to be run from diagnostics.
fixes #18141