trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Masaori Koshiba <>
Subject Re: ATS 7.1 graceful shutdown - client connections
Date Wed, 24 Oct 2018 06:00:56 GMT
"Drain" option is available from v8.0.0. You can use it by "traffic_ctl
server stop --drain". Details in below.
This works for both of HTTP/1.1 and HTTP/2.

For older version, you can inject "Connection: close" header by
header_rewrite plugin. But please note that this only works for HTTP/1.1.
HTTP/2 graceful shutdown is supported by v8.0.0.


2018年10月23日(火) 17:32 ezko <>:

> Hi,
> what is the cleanest way to shutdown traffic server in terms of client
> connections.
> The use case is rolling updates insides k8s. During update all new traffic
> is routed to a new instance , but how do we make sure the terminating
> instance has had a change to gracefully complete it's client connections.
> Is using 'traffic_ctl server stop' good enough ?
> what about keep alive ?
> Thanks.
> --
> Sent from:

View raw message