-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add plugin support #1865
Add plugin support #1865
Conversation
Signed-off-by: Emile Vauge <emile@vauge.com>
5e2d1b5
to
2fd3208
Compare
9140eba
to
de940b2
Compare
Signed-off-by: Emile Vauge <emile@vauge.com>
de940b2
to
850cb61
Compare
Signed-off-by: Emile Vauge <emile@vauge.com>
850cb61
to
5307df4
Compare
I'd like to try a proof of concept of re-creating the API Gateway from FaaS but as a Traefik plugin. https://github.com/alexellis/faas The core functions are:
Does that fit within your proposed change @emilevauge for a plugin? |
This is some excellent stuff. Can't wait to put it in production. 👍 |
This is an interesting approach to doing plugins in Go - https://github.com/hashicorp/go-plugin |
@alexellis sorry for the lag (holidays, you know ;) ). |
When this is expected to hit production? |
Aside from resolving merge conflicts and semaphoreci what else needs to happen to get this useful feature merged? |
Any progress here? The ability to extend Traefik is a must for my projects. Currently, I'm forced to use Nginx, since it allows to use Lua to extend its functionality. |
@emilevauge you're welcome to join our community, I can extend an invite.. you have lots of fans there already. |
Curious has this PR been abandoned? It would extremely useful to have this type of functionality to be able to introduce custom integration points and header modifications. |
FYI, this feature is not abandoned, but we are still not satisfied with the current official Go plugins situation. |
We are working on another solution to implement plugins in Traefik. |
Is there a tracking issue for the other implementation so I can have something to watch and know when it's ready? Perhaps it should be referenced here (and in #2362). |
@joejulian indeed, you can follow #1336 :) |
Description
Like a phoenix, this PR supersedes #1370 and adds basic plugin support.
From #1370 (comment):
We will enable CGO for the Alpine based image. We then need to compile the binary in an Alpine based image with musl.
At each release, we will also now publish the Docker image used to compile Traefik binary (
build.Dockerfile
). This image will be needed to compile each plugin.Any comment/suggestion is welcome :)
Fixes #1336
Fixes #1048
Part of #30