You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* For `--port`: specify the port the local instance of your application is running on. If the intercepted service exposes multiple ports, specify the port you want to intercept after a colon.
@@ -84,7 +84,7 @@ network telepresence, and remote mounts must be made relative to a specific moun
84
84
Intercepting : all TCP connections
85
85
```
86
86
87
-
5. <a name="start-local-instance"></a>Start your local application using the environment variables retrieved in the previous step.
87
+
5. Start your local application using the environment variables retrieved in the previous step.
88
88
The following are some examples of how to pass the environment variables to your local process:
89
89
***Visual Studio Code:** specify the path to the environment variables file in the `envFile` field of your configuration.
90
90
***JetBrains IDE (IntelliJ, WebStorm, PyCharm, GoLand, etc.):** use the [EnvFile plugin](https://plugins.jetbrains.com/plugin/7861-envfile).
@@ -128,7 +128,7 @@ present challenges in terms of toolchain integration, debugging, and the overall
128
128
```
129
129
130
130
3. Get the name of the port you want to intercept on your service:
131
-
`kubectl get service <service name> --output yaml`.
131
+
`kubectl get service <service name> --output yaml`.
132
132
133
133
If we assume that the service and deployment use the same name:
134
134
@@ -144,8 +144,8 @@ present challenges in terms of toolchain integration, debugging, and the overall
144
144
```
145
145
146
146
4. Intercept all traffic going to the application in your cluster, and start a local container to handle that intercept:
147
-
```
148
-
telepresence intercept <workload-name> --port [<local-port>][:<remote-port>] --docker-run -- <your local container>.
147
+
```bash
148
+
telepresence intercept <workload-name> --port [<local-port>][:<remote-port>] --docker-run -- <your local container>.
149
149
```
150
150
151
151
* For `--port`: If the intercepted service exposes multiple ports, specify the service port you want to intercept after a colon.
@@ -156,15 +156,15 @@ present challenges in terms of toolchain integration, debugging, and the overall
156
156
cluster get routed to the local container and the environment variables of the service are written to `~/example-app-intercept.env`.
0 commit comments