8000 api: add undocumented /grpc endpoint available since API 1.40 by tiborvass · Pull Request #2944 · docker-archive/classicswarm · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Conversation

tiborvass
Copy link
Contributor
@tiborvass tiborvass commented May 8, 2019

Signed-off-by: Tibor Vass tibor@docker.com

This allows to use buildx with docker driver on swarm.

Signed-off-by: Tibor Vass <tibor@docker.com>
@tiborvass
Copy link
Contributor Author

Ping @tonistiigi @dperny @dhiltgen


// postGRPC randomly chooses a node on the cluster and hijacks that connection.
func postGRPC(c *context, w http.ResponseWriter, r *http.Request) {
engine, err := c.cluster.RANDOMENGINE()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not ideal, but seems acceptable for the time being.

@tiborvass
Copy link
Contributor Author

@dperny is the CI failure unrelated?

@dperny
Copy link
Contributor
dperny commented Jun 24, 2019

ci failure is almost certainly unrelated, but i don't know anything about the ci system here.

@dperny
Copy link
Contributor
dperny commented Jun 24, 2019

looks fine.

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member

Upstream changes in the engine; moby/moby#38990

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0