From df6a33feb2fe085cbb1d812d33364cfde6005bcb Mon Sep 17 00:00:00 2001 From: Donny Yung Date: Tue, 6 Apr 2021 16:36:53 -0400 Subject: [PATCH 1/2] (from getambassador.io) Updating docs for intercept-port-num work --- howtos/intercepts.md | 16 ++++++++-------- howtos/preview-urls.md | 16 ++++++++-------- reference/intercepts.md | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/howtos/intercepts.md b/howtos/intercepts.md index b76a658af9..0cdd732961 100644 --- a/howtos/intercepts.md +++ b/howtos/intercepts.md @@ -219,15 +219,15 @@ be routed to your cluster as usual. 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: + Intercept name : example-service + State : ACTIVE + Workload kind : Deployment + Destination : 127.0.0.1:8080 + Service Port Identifier: http + Intercepting : HTTP requests that match all of: header("x-telepresence-intercept-id") ~= regexp(":example-service") - Preview URL : https://.preview.edgestack.me - Layer 5 Hostname : dev-environment.edgestack.me + Preview URL : https://.preview.edgestack.me + Layer 5 Hostname : dev-environment.edgestack.me ``` 4. Start your local service as in the previous step. diff --git a/howtos/preview-urls.md b/howtos/preview-urls.md index 7d23d8c9c0..c0031654a8 100644 --- a/howtos/preview-urls.md +++ b/howtos/preview-urls.md @@ -82,14 +82,14 @@ If it isn't: Using deployment example-service intercepted - Intercept name : example-service - State : ACTIVE - Destination : 127.0.0.1:8080 - Service Port Name: http - Intercepting : HTTP requests that match all of: + Intercept name : example-service + State : ACTIVE + Destination : 127.0.0.1:8080 + Service Port Identifier: http + Intercepting : HTTP requests that match all of: header("x-telepresence-intercept-id") ~= regexp(":example-service") - Preview URL : https://.preview.edgestack.me - Layer 5 Hostname : dev-environment.edgestack.me + Preview URL : https://.preview.edgestack.me + Layer 5 Hostname : dev-environment.edgestack.me ``` 4. Start your local environment using the environment variables retrieved in the previous step. @@ -125,4 +125,4 @@ If it isn't: To collaborate with someone outside of your identity provider's organization, you must go to [Ambassador Cloud](https://app.getambassador.io/cloud/preview/), select the preview URL, and click **Make Publicly Accessible**. Now anyone with the link will have access to the preview URL. When they visit the preview URL, they will see the intercepted service running on your laptop. -To disable sharing the preview URL publicly, click **Require Authentication** in the dashboard. Removing the intercept either from the dashboard or by running `telepresence leave ` also removes all access to the preview URL. \ No newline at end of file +To disable sharing the preview URL publicly, click **Require Authentication** in the dashboard. Removing the intercept either from the dashboard or by running `telepresence leave ` also removes all access to the preview URL. diff --git a/reference/intercepts.md b/reference/intercepts.md index a4fe797610..676ff8df52 100644 --- a/reference/intercepts.md +++ b/reference/intercepts.md @@ -88,18 +88,18 @@ Finally, run `telepresence leave ` to stop the intercept. ## Creating an Intercept When a Service has Multiple Ports -If you are trying to intercept a service that has multiple ports, you need to tell telepresence which service port you are trying to intercept. You can see the name of the service ports available to be intercepted by using kubectl to describe your service or look in the yaml for the service. For more information on multiple ports, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services). +If you are trying to intercept a service that has multiple ports, you need to tell telepresence which service port you are trying to intercept. To specifiy, you can either use the name of the service port or the port number itself. To see which options might be available to you and your service, use kubectl to describe your service or look in the objects yaml. For more information on multiple ports, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services). ``` -$ telepresence intercept --port=: +$ telepresence intercept --port=: Using Deployment intercepted - Intercept name : - State : ACTIVE - Workload kind : Deployment - Destination : 127.0.0.1: - Service Port Name: - Intercepting : all TCP connections + Intercept name : + State : ACTIVE + Workload kind : Deployment + Destination : 127.0.0.1: + Service Port Identifier: + Intercepting : all TCP connections ``` When intercepting a service that has multiple ports, the name of the service port that has been intercepted is also listed. From aae56732d10e9963e4a50d56c191d9787f462bf7 Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Sun, 11 Apr 2021 09:26:31 -0400 Subject: [PATCH 2/2] (from getambassador.io) Fixing typos. --- reference/intercepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/intercepts.md b/reference/intercepts.md index 676ff8df52..b9904042a9 100644 --- a/reference/intercepts.md +++ b/reference/intercepts.md @@ -88,7 +88,7 @@ Finally, run `telepresence leave ` to stop the intercept. ## Creating an Intercept When a Service has Multiple Ports -If you are trying to intercept a service that has multiple ports, you need to tell telepresence which service port you are trying to intercept. To specifiy, you can either use the name of the service port or the port number itself. To see which options might be available to you and your service, use kubectl to describe your service or look in the objects yaml. For more information on multiple ports, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services). +If you are trying to intercept a service that has multiple ports, you need to tell telepresence which service port you are trying to intercept. To specify, you can either use the name of the service port or the port number itself. To see which options might be available to you and your service, use kubectl to describe your service or look in the object's yaml. For more information on multiple ports, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/services-networking/service/#multi-port-services). ``` $ telepresence intercept --port=: