Provide custom gRPC dialer to override default proxy dialer#2419
Provide custom gRPC dialer to override default proxy dialer#2419anshulpundir merged 1 commit intomoby:masterfrom
Conversation
Signed-off-by: Anshul Pundir <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2419 +/- ##
==========================================
+ Coverage 60.6% 60.61% +0.01%
==========================================
Files 128 128
Lines 26362 26366 +4
==========================================
+ Hits 15976 15982 +6
+ Misses 8984 8978 -6
- Partials 1402 1406 +4 |
|
LGTM 👍 |
|
I don't think we should merge this. I think there is a case where a user may want or need to use a proxy, and they can't because we've made it impossible. |
My understanding is that this is not any worse than what it was before the gRPC change to start dialing into proxies first. So, I think it should be ok to make this change. We can easily provide the option to do proxy later. @dperny |
|
That's fine then. |
Upgrade swarmkit dependency. Changes: moby/swarmkit@ce5f7b8a (HEAD -> master, origin/master, origin/HEAD) Merge pull request moby/swarmkit#2411 from crunchywelch/2401-arm64_support moby/swarmkit@b0856099 Merge pull request moby/swarmkit#2423 from thaJeztah/new-misty-handle moby/swarmkit@2bd294fc Update Misty's GitHub handle moby/swarmkit@0769c605 Comments for orphaned state/task reaper. (moby/swarmkit#2421) moby/swarmkit@de950a7e Generic resource cli (moby/swarmkit#2347) moby/swarmkit@312be598 Provide custom gRPC dialer to override default proxy dialer (moby/swarmkit#2419) moby/swarmkit@4f12bf79 Merge pull request moby/swarmkit#2415 from cheyang/master moby/swarmkit@8f9f7dc1 add pid limits moby/swarmkit@da5ee2a6 Merge pull request moby/swarmkit#2409 from dperny/workaround-attachments moby/swarmkit@0c7b2fc2 Delete node attachments when node is removed moby/swarmkit@9d702763 normalize "aarch64" architectures to "arm64" moby/swarmkit@28f91d8...ce5f7b8 Signed-off-by: Marcus Martins <[email protected]>
Signed-off-by: Anshul Pundir <[email protected]> (cherry picked from commit 312be59) Signed-off-by: Nishant Totla <[email protected]>
Signed-off-by: Anshul Pundir <[email protected]>
Signed-off-by: Anshul Pundir <[email protected]> (cherry picked from commit 312be59) Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
Looks like this PR was merged using the Can we standardise on one approach (either "merge commit" or "rebase and merge"? |
|
@thaJeztah the standard is supposed to always be "merge commit". I believe there was some confusion around that leading to this, but we've uniformly communicated that "merge commits" are the standard. |
|
@nishanttotla thanks! I think it's possible to disable the other options if you have admin access to the repository |
|
@thaJeztah done! Now only merge commits are allowed to SwarmKit. |
|
Thanks! |
[17.09] Provide custom gRPC dialer to override default proxy dialer (#2419)
gRPC connects to proxy by default (c23aa65), breaking swarmkit. This change provides a basic custom dialer to override the proxy dialer for manager <-> manager and manager <-> worker connections.
Signed-off-by: Anshul Pundir [email protected]