-
Notifications
You must be signed in to change notification settings - Fork 593
/
Copy pathconsts.go
24 lines (19 loc) · 1.36 KB
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package manager
// -----------------------------------------------------------------------------
// Controller Manager - Constants & Vars
// -----------------------------------------------------------------------------
// HealthzPort is the default port the manager's health service listens on.
// Changing this will result in a breaking change. Existing deployments may use the literal
// port number in their liveness and readiness probes, and upgrading to a controller version
// with a changed HealthzPort will result in crash loops until users update their probe config.
// Note that there are several stock manifests in this repo that also use the literal port number. If you
// update this value, search for the old port number and update the stock manifests also.
const HealthzPort = 10254
// MetricsPort is the default port the manager's metrics service listens on.
// Similar to HealthzPort, it may be used in existing user deployment configurations, and its
// literal value is used in several stock manifests, which must be updated along with this value.
const MetricsPort = 10255
// DiagnosticsPort is the default port of the manager's diagnostics service listens on.
const DiagnosticsPort = 10256
// KongClientEventRecorderComponentName is a KongClient component name used to identify the events recording component.
const KongClientEventRecorderComponentName = "kong-client"