Downstream worker connections are tracked by worker id (#2949)
When possible downstream workers will include their worker id information in the connections they establish with the upstream using the nodeenrollment library. The tracking listener now tracks connections that are connected in this same way instead of just connections of type *tls.Conn.
This commit is contained in:
1 parent
5e3244a2e5
commit
1e89be1b1a
17 files changed
+951
-215
No files matched your search
@@ -102,6 +102,11 @@ message StatusRequest {
|
||||
// The worker key identifiers presented by all downstreams connected to this
|
||||
// worker
|
||||
repeated string connected_worker_key_identifiers = 50;
|
||||
// The worker public ids of all downstreams connected to this worker if known.
|
||||
// While there may be workers with key ids in the connected_worker_key_identifiers
|
||||
// list and their public ids in this list, once the requesting worker is aware
|
||||
// of the association, it should only populate this field.
|
||||
repeated string connected_worker_public_ids = 55;
|
||||
}
|
||||
|
||||
enum CHANGETYPE {
|
||||
@@ -117,7 +122,11 @@ message JobChangeRequest {
|
||||
}
|
||||
|
||||
message AuthorizedWorkerList {
|
||||
// the key id of authorized workers
|
||||
repeated string worker_key_identifiers = 1;
|
||||
// the public id of workers that were reported as being connected and which
|
||||
// are known by the controller.
|
||||
repeated string worker_public_ids = 2;
|
||||
}
|
||||
|
||||
message StatusResponse {
|
||||
|
||||
Reference in new issue
Block a user