tailscale/ipn/localapi
Irbe Krumina 2c8859c2e7
client/tailscale,ipn/{ipnlocal,localapi}: add a pre-shutdown localAPI endpoint that terminates control connections. (#14028)
Adds a /disconnect-control local API endpoint that just shuts down control client.
This can be run before shutting down an HA subnet router/app connector replica - it will ensure
that all connection to control are dropped and control thus considers this node inactive and tells
peers to switch over to another replica. Meanwhile the existing connections keep working (assuming
that the replica is given some graceful shutdown period).

Updates tailscale/tailscale#14020

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-11-07 19:27:53 +00:00
..
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 2024-07-19 09:35:22 -07:00
debugderp.go ipn/{ipnlocal,localapi},wgengine{,/magicsock}: plumb health.Tracker 2024-04-26 09:43:28 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go ipn/{ipnauth,ipnlocal,ipnserver}: send the auth URL to the user who started interactive login 2024-10-18 15:10:02 -05:00
localapi.go client/tailscale,ipn/{ipnlocal,localapi}: add a pre-shutdown localAPI endpoint that terminates control connections. (#14028) 2024-11-07 19:27:53 +00:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00