-
Notifications
You must be signed in to change notification settings - Fork 928
feat: use tailnet v2 API for coordination #11638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4177202
to
04e3985
Compare
80e59bd
to
fe63f6a
Compare
04e3985
to
64caaac
Compare
9a1e2eb
to
2f11961
Compare
64caaac
to
2bced78
Compare
2f11961
to
e611c3c
Compare
2bced78
to
afd20a0
Compare
e611c3c
to
fba56d1
Compare
afd20a0
to
0b9455c
Compare
fba56d1
to
02287a9
Compare
02287a9
to
8156019
Compare
8156019
to
8a045b0
Compare
8a045b0
to
6ef3db5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Nice to see it all come together
// TODO: handle DERPMap too! | ||
DerpMapUpdateFrequency: time.Hour, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed for this PR or is it addressed in one of the PRs after this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in some upstack PRs. As of this PR we still use the old DERPMap dedicated websocket, but I'm in the process of switching everything over after this one.
6ef3db5
to
a3721bb
Compare
Merge activity
|
This one is huge, and I'm sorry.
The problem is that once I change
tailnet.Conn
to start doing v2 behavior, I kind of have to change it everywhere, including in CoderSDK (CLI), the agent, wsproxy, and ServerTailnet.There is still a bit more cleanup to do, and I need to add code so that when we lose connection to the Coordinator, we mark all peers as LOST, but that will be in a separate PR since this is big enough!