From 3252313833044b33f530fc48ae2c91c628ec588f Mon Sep 17 00:00:00 2001 From: Kalya Subramanian Date: Fri, 12 Mar 2021 10:37:22 -0800 Subject: [PATCH] docs(envoy): Document ports used by envoy Signed-off-by: Kalya Subramanian --- docs/content/docs/application_requirements.md | 11 ++++++++++- pkg/injector/health_probes.go | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/content/docs/application_requirements.md b/docs/content/docs/application_requirements.md index f06a48c40b..e3817770d4 100644 --- a/docs/content/docs/application_requirements.md +++ b/docs/content/docs/application_requirements.md @@ -7,4 +7,13 @@ type: docs # Application Requirements ## Application UIDs -Do not run applications with the user ID (UID) value of **1500**. This is **reserved** for the Envoy proxy sidecar container injected into pods by OSM's sidecar injector. \ No newline at end of file +Do not run applications with the user ID (UID) value of **1500**. This is **reserved** for the Envoy proxy sidecar container injected into pods by OSM's sidecar injector. + +## Ports +Do not use the following ports as they are used by the Envoy sidecar. +| Port | Description | +| ------| ----------- | +| 15000 | Envoy Admin Port | +| 15001 | Envoy Outbound Listener Port | +| 15003 | Envoy Inbound Listener Port | +| 15010 | Envoy Prometheus Inbound Listener Port | \ No newline at end of file diff --git a/pkg/injector/health_probes.go b/pkg/injector/health_probes.go index a20c171593..8e320bfff4 100644 --- a/pkg/injector/health_probes.go +++ b/pkg/injector/health_probes.go @@ -8,7 +8,6 @@ import ( ) const ( - // TODO(draychev): Dynamically generate init/init-iptables.sh from these constants: https://github.com/openservicemesh/osm/issues/2243 livenessProbePort = int32(15901) readinessProbePort = int32(15902) startupProbePort = int32(15903)