Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Nov 10, 2023
1 parent c86a9d8 commit 273a735
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ across cloud providers, data centers, and edge sites.
* [Step 5: Apply your YAML resources](#step-5-apply-your-yaml-resources)
* [Step 6: Link your namespaces](#step-6-link-your-namespaces)
* [Step 7: Test the application](#step-7-test-the-application)
* [Accessing the web console](#accessing-the-web-console)
* [Cleaning up](#cleaning-up)
* [About this example](#about-this-example)

Expand Down Expand Up @@ -359,6 +360,40 @@ OK
If everything is in order, you can now access the web interface by
navigating to `http://<external-ip>:8080/` in your browser.

## Accessing the web console

Skupper includes a web console you can use to view the application
network. To access it, use `skupper status` to look up the URL of
the web console. Then use `kubectl get
secret/skupper-console-users` to look up the console admin
password.

**Note:** The `<console-url>` and `<password>` fields in the
following output are placeholders. The actual values are specific
to your environment.

_**Console for site 1:**_

~~~ shell
skupper status
kubectl get secret/skupper-console-users -o jsonpath={.data.admin} | base64 -d
~~~

_Sample output:_

~~~ console
$ skupper status
Skupper is enabled for namespace "site-1" in interior mode. It is connected to 1 other site. It has 1 exposed service.
The site console url is: <console-url>
The credentials for internal console-auth mode are held in secret: 'skupper-console-users'

$ kubectl get secret/skupper-console-users -o jsonpath={.data.admin} | base64 -d
<password>
~~~

Navigate to `<console-url>` in your browser. When prompted, log
in as user `admin` and enter the password.

## Cleaning up

To remove Skupper and the other resources from this exercise, use
Expand Down
1 change: 1 addition & 0 deletions skewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ steps:
[install]: https://skupper.io/install/index.html
- standard: test_the_application
- standard: accessing_the_web_console
- standard: cleaning_up
commands:
site-1:
Expand Down

0 comments on commit 273a735

Please sign in to comment.