Skip to content

Commit

Permalink
(from getambassador.io) Updating intercept output
Browse files Browse the repository at this point in the history
  • Loading branch information
Donny Yung committed Mar 26, 2021
1 parent 5ed790e commit b17654c
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 15 deletions.
6 changes: 4 additions & 2 deletions howtos/intercepts.md
Expand Up @@ -125,10 +125,11 @@ In this section, we will go through the steps required for you to intercept all
```
$ telepresence intercept example-service --port 8080:http --env-file ~/example-service-intercept.env
Using deployment example-service
Using Deployment example-service
intercepted
Intercept name: example-service
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:8080
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -216,10 +217,11 @@ be routed to your cluster as usual.
[default: ambassador.ambassador]: dev-environment.edgestack.me
Using deployment example-service
Using Deployment example-service
intercepted
Intercept name : example-service
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:8080
Service Port Name: http
Intercepting : HTTP requests that match all of:
Expand Down
6 changes: 4 additions & 2 deletions quick-start/qs-go.md
Expand Up @@ -210,10 +210,11 @@ Next, we’ll create an intercept. An intercept is a rule that tells Telepresenc
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -287,10 +288,11 @@ Create preview URLs to do selective intercepts, meaning only traffic coming from
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down
6 changes: 4 additions & 2 deletions quick-start/qs-java.md
Expand Up @@ -204,10 +204,11 @@ Next, we’ll create an intercept. An intercept is a rule that tells Telepresenc
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -281,10 +282,11 @@ Create preview URLs to do selective intercepts, meaning only traffic coming from
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down
6 changes: 4 additions & 2 deletions quick-start/qs-node.md
Expand Up @@ -194,10 +194,11 @@ Next, we’ll create an intercept. An intercept is a rule that tells Telepresenc
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -275,10 +276,11 @@ Create preview URLs to do selective intercepts, meaning only traffic coming from
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down
6 changes: 4 additions & 2 deletions quick-start/qs-python-fastapi.md
Expand Up @@ -195,10 +195,11 @@ Next, we’ll create an intercept. An intercept is a rule that tells Telepresenc
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -272,10 +273,11 @@ Create preview URLs to do selective intercepts, meaning only traffic coming from
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down
6 changes: 4 additions & 2 deletions quick-start/qs-python.md
Expand Up @@ -206,10 +206,11 @@ Next, we’ll create an intercept. An intercept is a rule that tells Telepresenc
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
```
Expand Down Expand Up @@ -283,10 +284,11 @@ Create preview URLs to do selective intercepts, meaning only traffic coming from
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down
3 changes: 2 additions & 1 deletion reference/dns.md
Expand Up @@ -46,10 +46,11 @@ Now we'll start an intercept against another service in the same namespace. Reme
```
$ telepresence intercept dataprocessingservice --port 3000
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name: dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : all TCP connections
Expand Down
3 changes: 2 additions & 1 deletion reference/volume.md
Expand Up @@ -14,10 +14,11 @@ Telepresence can set a random mount point for you by using `--mount=true` instea

```
$ telepresence intercept <mysvc> --port <port> --mount=true -- /bin/bash
Using deployment <mysvc>
Using Deployment <mysvc>
intercepted
Intercept name : <mysvc>
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:<port>
Volume Mount Point: /var/folders/cp/2r22shfd50d9ymgrw14fd23r0000gp/T/telfs-988349784
Intercepting : all TCP connections
Expand Down
3 changes: 2 additions & 1 deletion tutorial.md
Expand Up @@ -143,10 +143,11 @@ Alternatively, you can use Telepresence's `intercept` command to proxy traffic b
[default: verylargejavaservice.default]:
Using deployment dataprocessingservice
Using Deployment dataprocessingservice
intercepted
Intercept name : dataprocessingservice
State : ACTIVE
Workload kind : Deployment
Destination : 127.0.0.1:3000
Intercepting : HTTP requests that match all of:
header("x-telepresence-intercept-id") ~= regexp("86cb4a70-c7e1-1138-89c2-d8fed7a46cae:dataprocessingservice")
Expand Down

0 comments on commit b17654c

Please sign in to comment.