summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorIrbe Krumina <irbe@tailscale.com>2024-11-07 19:27:53 +0000
committerGitHub <noreply@github.com>2024-11-07 19:27:53 +0000
commit2c8859c2e725af2de59203c0b2d39b96f135cb60 (patch)
tree0bdec429a4296a17bdadad3812dea5e951bb973e /control/controlhttp/controlhttpserver/controlhttpserver.go
parent3090461961e30fffb5a28b1432c47a627177a5a1 (diff)
downloadtailscale-2c8859c2e725af2de59203c0b2d39b96f135cb60.tar.xz
tailscale-2c8859c2e725af2de59203c0b2d39b96f135cb60.zip
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions