Skip to content

Commit

Permalink
Set gateway, list app pods, and fix typos on routes
Browse files Browse the repository at this point in the history
  • Loading branch information
theckang committed Jun 4, 2021
1 parent c756204 commit 6905932
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
47 changes: 45 additions & 2 deletions workshop/content/lab1.2_installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,56 @@ Output (sample):

```
NAME READY STATUS RESTARTS AGE
rhsso-operator-xxxxxxxxx-xxxxx 1/1 Running 0 15h
app-ui-1-build 0/1 Completed 0 15h
app-ui-1-deploy 0/1 Completed 0 15h
app-ui-1-xxxxx 2/2 Running 0 15h
boards-1-xxxxx 2/2 Running 0 15h
boards-1-build 0/1 Completed 0 15h
boards-1-deploy 0/1 Completed 0 15h
boards-mongodb-1-deploy 0/1 Completed 0 15h
boards-mongodb-1-xxxxx 2/2 Running 0 15h
context-scraper-1-build 0/1 Completed 0 15h
context-scraper-1-deploy 0/1 Completed 0 15h
context-scraper-1-xxxxx 2/2 Running 0 15h
rhsso-operator-xxxxxxxxx-xxxxx 1/1 Running 0 15h
userprofile-1.0-1-build 0/1 Completed 0 15h
userprofile-xxxxxxxxxx-xxxxx 2/2 Running 0 15h
userprofile-postgresql-1-deploy 0/1 Completed 0 15h
userprofile-postgresql-1-xxxxx 2/2 Running 0 15h
```

The RH-SSO operator will be used later in the security labs.
<br>

To access the application, you need the endpoint of your load balancer.

<blockquote>
<i class="fa fa-terminal"></i>
Retrieve the URL of the load balancer:
</blockquote>

```execute
GATEWAY_URL=$(oc get route istio-ingressgateway -n %username%-istio --template='http://{{.spec.host}}')
echo $GATEWAY_URL
```

<blockquote>
<i class="fa fa-desktop"></i>
Navigate to this URL in a new browser tab. For example:
</blockquote>

```
http://istio-ingressgateway-userx-istio.apps.cluster-naa-xxxx.naa-xxxx.example.opentlc.com:6443
```

<br>

You should see the application user interface. Try creating a new board and posting to the shared board.

For example:

<img src="images/app-pasteboard.png" width="1024"><br/>
*Create a new board*

## Application Code
Next we need a local copy of our application code.

Expand Down
2 changes: 1 addition & 1 deletion workshop/content/lab2.3_kiali.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Now let's open the Kiali console. Retrieve the endpoint for Kiali:


```execute
echo $(oc get route kiali -n istio-system --template='https://{{.spec.host}}')
echo $(oc get route kiali -n %username%-istio --template='https://{{.spec.host}}')
```

Output (sample):
Expand Down
2 changes: 1 addition & 1 deletion workshop/content/lab3.3_jaeger.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Open the Jaeger console. Retrieve the endpoint for Jaeger:
</blockquote>

```execute
echo $(oc get route jaeger -n istio-system --template='https://{{.spec.host}}')
echo $(oc get route jaeger -n %username%-istio --template='https://{{.spec.host}}')
```

Click 'Allow selected permissions' if prompted to authorized access.
Expand Down

0 comments on commit 6905932

Please sign in to comment.