Skip to content
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

Manual download of oc binary for Minishift is not required. #10

Closed
LalatenduMohanty opened this issue May 27, 2017 · 6 comments
Closed
Assignees

Comments

@LalatenduMohanty
Copy link

LalatenduMohanty commented May 27, 2017

We do not need to download the oc binary as Minishift downloads a copy of it and we can reuse it through minishift oc-env command. We should the the existing steps [1] as below.

1. Install [Minishift](https://docs.openshift.org/latest/minishift/getting-started/installing.html)
2. Run `minishift start`
3. Run `minishift oc-env` and do as suggested in the output of the command
4. Log in using oc login -u system:admin with password admin
5. Create a symlink from `oc` like so:  `ln -s `which oc` kubectl`

[1] https://github.com/openshift-evangelists/kbe/blob/master/content/page/diy.md

@LalatenduMohanty
Copy link
Author

LalatenduMohanty commented May 27, 2017

minishift oc-env is available from minishift 1.0.0 version.

@mhausenblas
Copy link
Contributor

mhausenblas commented May 28, 2017

Excellent observation @LalatenduMohanty, I wasn't aware of it. Do you plan to send in a PR to fix that or …?

@brgnepal
Copy link
Contributor

I was about to create issue and found this 👍

@LalatenduMohanty
Copy link
Author

@mhausenblas I will send the PR, but I am going through the examples and make sure these work on Minishift 1.0.0 or 1.0.1 version.

@mhausenblas
Copy link
Contributor

Cool, thanks, yeah that makes sense @LalatenduMohanty.

@ryanj
Copy link
Member

ryanj commented Oct 1, 2020

Thanks for the issue.

Given #63, I think we're going to try to avoid using oc in examples here, in an effort to make the content as portable as possible. It's no longer mentioned on the diy page

@ryanj ryanj closed this as completed Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants