-
Notifications
You must be signed in to change notification settings - Fork 41
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
Update start_cerberus.py #135
base: main
Are you sure you want to change the base?
Conversation
solving oc issue
Can one of the admins verify this patch? |
logging.info("\n%s" % (cluster_version)) | ||
cluster_info = runcommand.invoke("kubectl cluster-info | awk 'NR==1' | sed -r " | ||
cluster_info = runcommand.invoke("oc cluster-info | awk 'NR==1' | sed " |
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.
@seanogor we might want to use kubectl here since cluster-info resource is common to both kubernetes as well openshift distributions. This way it works even when the distribution is set to kubernetes. Thoughts?
/rerun all |
|
Im happy with that, was only changing for consistency... kubectl on the
second command is fine
…On Thu, 6 May 2021, 22:33 Naga Ravi Chaitanya Elluri, < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In start_cerberus.py
<#135 (comment)>
:
> logging.info("\n%s" % (cluster_version))
- cluster_info = runcommand.invoke("kubectl cluster-info | awk 'NR==1' | sed -r "
+ cluster_info = runcommand.invoke("oc cluster-info | awk 'NR==1' | sed "
@seanogor <https://github.com/seanogor> we might want to use kubectl here
since cluster-info resource is common to both kubernetes as well openshift
distributions. This way it works even when the distribution is set to
kubernetes. Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB74KG2ZH2SRRKA5NTUZ6CTTMMDMBANCNFSM44HU5I2Q>
.
|
Taking out the -r option didn't work for me. I'm also on a mac
|
solving oc issue
Description
#133
Fixes
dropped in oc, removed -r option in sed as it didn't work on a mac but that can be put back in if necessary