Skip to content

Commit

Permalink
(from getambassador.io) First version of QS improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Keoni Delgado Muller committed Sep 2, 2021
1 parent 81069ec commit f5f3bb6
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions quick-start/demo-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Login,
LoginCommand,
DockerCommand,
PreviewUrl,
ExternalIp
ExternalIp,
CheckDockerCommand
} from '../../../../../src/components/Docs/Telepresence';
import Alert from '@material-ui/lab/Alert';
import QSCards from './qs-cards';
Expand All @@ -33,7 +34,11 @@ import { UserInterceptCommand } from '../../../../../src/components/Docs/Telepre

In this guide, we'll give you a hands-on tutorial with Telepresence. To go through this tutorial, the only thing you'll need is a computer that runs Docker Desktop >=20.10.7. We'll give you a pre-configured remote Kubernetes cluster and a Docker container to run locally.

If you don't have Docker Desktop already installed, go to the [Docker download page](https://www.docker.com/get-started) and install Docker.
If you don't have Docker Desktop already installed, go to the [Docker download page](https://www.docker.com/get-started) and install Docker.

If you have Docker Desktop already installed, make sure it is running with the following command:

<CheckDockerCommand/>

<Alert severity="info">
While Telepresence works with any language, this guide uses a sample app written in Node.js and Golang. We have a version in <a href="../demo-react/">React</a> if you prefer.
Expand Down Expand Up @@ -72,6 +77,10 @@ We'll set up a development environment locally on your workstation. We'll then u

<DockerCommand/>

<Alert severity="info">
Make sure that your ports: 8080 and 8083 are open, that they are not being used by another service.
</Alert>

2. The Docker container includes a copy of the Emojivoto application that fixes the bug. Visit the [leaderboard](http://localhost:8083/leaderboard) and notice how it is different from the leaderboard in your <ExternalIp>Kubernetes cluster</ExternalIp>.

3. Vote for 🍩 on your local leaderboard, and you can see that the bug is fixed!
Expand All @@ -90,7 +99,11 @@ A common use case for Telepresence is to connect your local development environm
2. Create an intercept, which will tell Telepresence to send traffic to the service in our container instead of the service in the cluster:
`telepresence intercept web --port 8080`

When prompted for ingress configuration, all default values should be correct as displayed below.
When prompted for ingress configuration, all default values should be correct as displayed below.

<UserInterceptCommand/>

If the intecept is successful, it will show the following:

<UserInterceptCommand/>

Expand Down

0 comments on commit f5f3bb6

Please sign in to comment.