Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Will Smith <[email protected]>
Signed-off-by: Will <[email protected]>
  • Loading branch information
willtsai and willdavsmith authored Feb 22, 2024
1 parent ef9b859 commit e1a2646
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This command:

- Runs the application in your Kubernetes cluster
- Creates a port-forward from localhost to port 3000 inside the container so you can navigate to the app's frontend UI
- Creates a port-forward from localhost to port TODO inside the container so you can navigate to your Radius Dashboard
- Creates a port-forward from localhost to port 7007 inside the container so you can navigate to your Radius Dashboard
- Streams container logs to your terminal

<br>
Expand All @@ -96,7 +96,7 @@ In your browser you should see the demo app:
{{< image src="demo-screenshot.png" alt="Screenshot of the demo container" width=600px >}}
<br>

Access your Radius Dashboard by opening [http://localhost:TODO](http://localhost:TODO) in a browser. In your browser, you should see the Radius Dashboard, which includes visualizations of the application graph, environments, and recipes:
Access your Radius Dashboard by opening [http://localhost:7007](http://localhost:7007) in a browser. In your browser, you should see the Radius Dashboard, which includes visualizations of the application graph, environments, and recipes:

{{< image src="demo-dashboard-home.png" alt="screenshot of an example Radius Dashboard home page" width=800 >}}
<br><br>
Expand Down Expand Up @@ -146,7 +146,7 @@ Navigate to the Todo List tab and test out the application. Using the Todo page
{{< image src="demo-with-todolist.png" alt="Screenshot of the todolist" width=700px >}}
<br /><br />

Access your Radius Dashboard again by opening [http://localhost:TODO](http://localhost:TODO) in a browser and navigate to the `APP GRAPH` link for your demo application. You should see a visualization of the application graph for your `demo` app, including the connection to the `db` Redis Cache:
Access your Radius Dashboard again by opening [http://localhost:7007](http://localhost:7007) in a browser and navigate to the `APP GRAPH` link for your demo application. You should see a visualization of the application graph for your `demo` app, including the connection to the `db` Redis Cache:

{{< image src="demo-dashboard-app-graph.png" alt="screenshot of an example Radius Dashboard home page" width=800 >}}
<br><br>
Expand Down
6 changes: 3 additions & 3 deletions docs/content/guides/tooling/dashboard/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Key features of the Radius Dashboard currently include:
- _Recipes directory_: A listing of all the Radius [Recipes]({{< ref "guides/recipes/overview" >}}) available to the user for a given environment.

{{< alert title="Dashboard installation" color="warning" >}}
The Radius Dashboard is installed by default as a part of your Radius initialization and deployment. To opt-out of installing the dashboard, you can use the `--TODO` flag when running `rad init`, `rad deploy`, or `rad run`. See more instructions in the [CLI reference documentation]({{< ref "/reference/cli" >}}).
The Radius Dashboard is installed by default as a part of your Radius initialization and deployment. To opt-out of installing the dashboard, you can use the `--set dashboard.enabled=false` flag when running `rad install kubernetes`. See more instructions in the [CLI reference documentation]({{< ref "/reference/cli" >}}).
{{< /alert >}}

When you run your application with the `rad run` command, Radius creates a port-forward from `localhost` to port `TODO` inside the container that you may use to access your Radius Dashboard.
When you run your application with the `rad run` command, Radius creates a port-forward from `localhost` to port `7007` inside the container that you may use to access your Radius Dashboard.

Alternatively, you can manually create a port-forward from `localhost` to the port number of your choice to provide access to your Radius Dashboard:

```bash
kubectl port-forward svc/TODO 3000:80
kubectl port-forward --namespace=radius-system svc/dashboard 7007:80
```

{{< image src="dashboard-home.png" alt="screenshot of an example Radius Dashboard home page" width=800 >}}
Expand Down

0 comments on commit e1a2646

Please sign in to comment.