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

docs: updating minikube and crc installation guides #2302

Merged
merged 5 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ include::partial$proc_using-minikube-to-set-up-kubernetes.adoc[leveloffset=+1]

include::partial$proc_installing-che-on-minikube-using-chectl.adoc[leveloffset=+1]
themr0c marked this conversation as resolved.
Show resolved Hide resolved
themr0c marked this conversation as resolved.
Show resolved Hide resolved

include::partial$proc_using-minikube-and-lxc.adoc[leveloffset=+1]

:context: {parent-context-of-installing-che-on-minikube}
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ This section describes how to install {prod-short} on CodeReady Containers (CRC)

.Procedure

. Initiate the CRC platform:

.. Configure your host machine for CodeReady Containers:
.. Remove any previous cluster:
themr0c marked this conversation as resolved.
Show resolved Hide resolved
+
----
$ crc setup
$ crc delete
themr0c marked this conversation as resolved.
Show resolved Hide resolved
----

.. Remove any previous cluster:
. Initiate the CodeReady Containers platform:

.. Configure your host machine for CodeReady Containers:
+
----
$ crc delete
$ crc setup
themr0c marked this conversation as resolved.
Show resolved Hide resolved
----

.. Initiate the `oc` command line interface within CRC:
.. Enable access to the `oc` command line interface embedded in CodeReady Containers:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should happen after crc start, or you receive the error:

eval $(crc oc-env)
Machine does not exist. Use 'crc start' to create it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions in ibuziuk#3

  • Use CodeReady containers rather than CRC
  • Fix steps numbering.
  • Tested the procedure: removing obsolete commands, reordering commands.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@themr0c applied, thanks

+
----
$ eval $(crc oc-env)
Expand Down
107 changes: 0 additions & 107 deletions modules/administration-guide/partials/proc_using-minikube-and-lxc.adoc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This section describes how to use Minikube to prepare a local single-node {kuber

.Procedure

. Start Minikube (it is important to *allocate at least 4GB of RAM but 8GB are recommended*):
. Start Minikube. Allocate at least 8GB of RAM and 4 CPU cores:
+
----
$ minikube start --addons=ingress --vm=true --memory=8192
$ minikube start --addons=ingress --vm=true --memory=8192 --cpus=4
themr0c marked this conversation as resolved.
Show resolved Hide resolved
----