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

Getting started guide #65

Closed
5 tasks done
gbraad opened this issue Apr 18, 2019 · 9 comments
Closed
5 tasks done

Getting started guide #65

gbraad opened this issue Apr 18, 2019 · 9 comments

Comments

@gbraad
Copy link
Contributor

gbraad commented Apr 18, 2019

We need a Getting Started Guide to help the user to get up and running in no time.

  • installation of the needed crc-driver-libvirt driver plugin
    • actually handled by the crc setup command
  • basic usage crc start
  • ... note: at this point no other commands exist yet (see command roadmap Command roadmap #70 )
  • use with oc (export of kubeconfig)
@gbraad gbraad added this to In progress in Sprint 165 Apr 18, 2019
@gbraad gbraad added this to Done in Documentation Apr 18, 2019
@gbraad gbraad moved this from Done to To do in Documentation Apr 18, 2019
@gbraad gbraad mentioned this issue Apr 18, 2019
4 tasks
@kowen-rh
Copy link
Contributor

Looks like we have the start, stop, and delete commands at the moment -- is that correct?

@gbraad
Copy link
Contributor Author

gbraad commented Apr 23, 2019

@robin-owen this is correct and setup to check and fix issues to make CRC run (note: start only checks before running).

You could try the following binary:

https://15-165193530-gh.circle-artifacts.com/0/crc/linux-amd64/crc

@kowen-rh
Copy link
Contributor

I've built the binary myself and noticed that there's no setup command documented in crc --help. Is that expected at this time?

@gbraad
Copy link
Contributor Author

gbraad commented Apr 23, 2019 via email

@gbraad gbraad added this to To do in Sprint 166 via automation Apr 30, 2019
@gbraad gbraad moved this from To do to In progress in Sprint 166 Apr 30, 2019
@kowen-rh
Copy link
Contributor

kowen-rh commented Apr 30, 2019

We could also use general troubleshooting information.

AFAIK, the general procedure for troubleshooting is to delete the current VM via crc delete and retry with crc start. (This is assuming that crc setup has already been run and none of the files crc setup configures have been modified by the user. At the moment, this would be an advanced use case which we are not planning to document yet.)

Is there any other troubleshooting information for common issues or errors which could be encountered?

Edit: In the future, we'll likely want a dedicated troubleshooting guide, but for the simple uses we have at the moment, I think it makes sense to include all of this information in a single guide.

@gbraad
Copy link
Contributor Author

gbraad commented Apr 30, 2019

After a successful crc start, there is a minimum of 4 minutes that you would have to wait for the cluster to start all the needed containers, operators and whatever else is needed until it settles down and can actually serve a request. Note: at the moment we do not yet read the status from the cluster so it is kind of a 'fire-and-forget' for now after crc start finished.

If the cluster is up, you can use oc after doing an export KUBECONFIG=[..]/kubeconfig or log into the console with the kubeadmin user. all this information is now in files that are extracted from the image bundle. This can be found at ~/.crc/machines/crc/.../.

@gbraad
Copy link
Contributor Author

gbraad commented May 3, 2019

As discussed with @rowen, commands like crc config set is now considered to be advanced usage, and likely ONLY necessary to address as part of troubleshooting at this point

kowen-rh added a commit to kowen-rh/crc that referenced this issue May 3, 2019
Issue crc-org#64 create initial documentation structure
kowen-rh added a commit to kowen-rh/crc that referenced this issue May 3, 2019
Issue crc-org#64 create initial documentation structure
kowen-rh added a commit to kowen-rh/crc that referenced this issue May 3, 2019
Issue crc-org#64 create initial documentation structure
@kowen-rh kowen-rh moved this from To do to In progress in Documentation May 6, 2019
kowen-rh added a commit to kowen-rh/crc that referenced this issue May 7, 2019
Issue crc-org#66 generate docs via docs container

Issue crc-org#64 create initial documentation structure
anjannath pushed a commit that referenced this issue May 8, 2019
Issue #66 generate docs via docs container

Issue #64 create initial documentation structure
@gbraad
Copy link
Contributor Author

gbraad commented May 8, 2019

Fixed with #109

@gbraad gbraad closed this as completed May 8, 2019
Sprint 166 automation moved this from In progress to Done May 8, 2019
@anjannath
Copy link
Member

Fixed in e8255c6

@kowen-rh kowen-rh moved this from In progress to Done in Documentation May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Documentation
  
Done
Sprint 165
  
In progress
Sprint 166
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants