Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ShutdownManagerPort is the port Envoy shutdown manager will listen on. ShutdownManagerPort = 19002 // ShutdownManagerHealthCheckPath is the path used for health checks. ShutdownManagerHealthCheckPath = "/healthz" // ShutdownManagerReadyPath is the path used to indicate shutdown readiness. ShutdownManagerReadyPath = "/shutdown/ready" // ShutdownReadyFile is the file used to indicate shutdown readiness. ShutdownReadyFile = "/tmp/shutdown-ready" )
Variables ¶
This section is empty.
Functions ¶
func Shutdown ¶
func Shutdown(drainTimeout time.Duration, minDrainDuration time.Duration, exitAtConnections int) error
Shutdown is called from a preStop hook on the shutdown-manager container where it will initiate a drain sequence on the Envoy proxy and block until connections are drained or a timeout is exceeded.
func ShutdownManager ¶
ShutdownManager serves shutdown manager process for Envoy proxies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.