Commit Graph

115 Commits

Author SHA1 Message Date
Alexis Couvreur
ad4e9ffb8c Add 'plugins/traefik/' from commit 'aef1f9e0dd205ea9cdea9e3ccf11900c5fe79b1f'
git-subtree-dir: plugins/traefik
git-subtree-mainline: 1a14070131
git-subtree-split: aef1f9e0dd
2022-09-30 14:32:09 +00:00
Alexis Couvreur
1a14070131 fix: upgrade tinykv to avoid "fatal error: concurrent map iteration and map write" during periodic syncs 2022-07-23 12:53:23 -04:00
Alexis Couvreur
3eb7d480da feat: add persistent storage (#30)
* refactor: remove unused default timeout

* feat: add persistent storage

Allows you to save the state to a file and load it upon restarting the app to restore the previous state.

* chore: upgrade to go 1.18

* use tinykv with generics

* build: add "-buildvcs=false" flag

Git is not available in golang:1.18-alpine image
2022-07-23 12:53:23 -04:00
Alexis Couvreur
4eb086f9d5 fix(swarm): avoid API hammering on scaling request (#26) 2022-07-23 12:53:23 -04:00
Alexis Couvreur
0edf684643 ci: add "beta" branch to ci release trigger" 2022-07-23 12:53:23 -04:00
Alexis Couvreur
4f89362e41 ci: release on beta branch 2022-07-23 12:53:23 -04:00
Alexis Couvreur
410a5e15eb fix(swarm): add an extra wait of 5 seconds to consider a service up 2022-07-23 12:53:23 -04:00
Alexis Couvreur
aef1f9e0dd docs: add an instruction to scale down the whoami deployment 2022-07-23 12:49:38 -04:00
Alexis Couvreur
5c96a1f9d5 docs: bump plugin version to v1.2.0 2022-07-23 12:49:38 -04:00
Alexis Couvreur
e671c3f989 fix: return as soon as one service is unavailable
When multiple services are unavailble, the function would write multiple times to the response writer.
2022-07-23 12:49:38 -04:00
Alexis Couvreur
c57d93bf7c feat: add optional display name config property
Allows you to overwrite the loading display name which defaults to the middleware name
2022-07-23 12:49:38 -04:00
Stanislas Bruhière
b05d300add feat: add support to scale down multiple containers (#20)
* Add support for names to scale down multiple containers

* Revert loading to old version

* Add tests for multiple

* Add tests for blocking strategy

* Rollback loading.html

* Update README.md

Co-authored-by: Alexis Couvreur <alexiscouvreur.pro@gmail.com>
2022-07-23 12:49:38 -04:00
Alexis Couvreur
1f5d146271 Merge beta into main #18
Merge beta into main
2022-01-25 22:40:26 +01:00
Alexis Couvreur
44641017b8 docs: add table of contents 2021-12-22 12:28:54 +01:00
Alexis Couvreur
2f15b4038c fix: set all lowercase style for blocking strategy keys 2021-12-22 12:20:47 +01:00
Alexis Couvreur
b4aa07cf2e Merge branch 'main' into beta 2021-12-22 11:57:48 +01:00
Alexis Couvreur
beb13ab3f9 fix: correctly use default errorPage template instead of loadingPage template on GetErrorPage (#17)
Error introduced in release v1.1.0

It used the loadingPage default template instead of the errorPage default template on GetErrorPage calls
2021-12-15 10:12:04 +01:00
Alexis COUVREUR
afc2b25945 ci(release): trigger release pipeline on beta branch 2021-12-11 15:52:36 +01:00
Alexis Couvreur
b4f5eebaac feat: add blocking request (#12)
* feat: add blocking strategy

* docs: add examples for blocking strategy

* ci: run go tests recursively

* perf: wait for BlockCheckInterval for each request

* fix: use camel case instead of snake case for yaml config

* docs: add loading and error page customization as a feature

* fix: use errorPage

* fix: return json instead of html page

* set json key

* update development config

* docs: add comment about custom loading pages

* ci: add beta release
2021-12-11 15:46:56 +01:00
Alexis Couvreur
327211cbbf docs: format custom loading/error pages 2021-12-09 23:01:02 +01:00
Jenn
3178fdcc57 feat: add custom loading page (#15)
* add option for custom loading and error pages
* document custom landing pages
* link to example templates
* update loading page template to match template actually in-use
2021-12-09 22:34:17 +01:00
Matthias Schneider
1e69a5754f docs(kubernetes): fix markdown issue and wording (#22) 2021-11-18 15:56:17 +01:00
Matthias Schneider
b244cc8d0b docs(kubernetes): add Statefulset compatibility README (#21)
related to #20
2021-11-18 15:44:44 +01:00
Matthias Schneider
124e619f08 docs(kubernetes): add Statefulsets in README (#14) 2021-11-18 15:40:48 +01:00
Romain
d299780f58 feat(kubernetes): add compatibility with Statefulset (#20)
* Add statefulset compatibility

* Add rbac in doc

* replace AvailableReplica by ReadyReplica

* Replace if to switch
2021-11-18 15:20:48 +01:00
Alexis Couvreur
fab46ad4c6 ci: release go binaries for linux/amd64 linux/arm64 linux/arm/v7 (#19) 2021-10-29 00:07:21 +02:00
Alexis Couvreur
11554d6c60 docs: bump plugin version to v1.0.1 2021-10-03 12:31:22 +00:00
Alexis COUVREUR
37e9962764 chore: bump traefik-ondemand-service to 1 2021-10-02 12:49:35 +02:00
Alexis Couvreur
a127a0fc86 feat: add multiplatform docker image build (#18)
The build is very slow for some reason. ~15mins
2021-10-01 23:19:33 +02:00
Alexis COUVREUR
1b4af11309 docs: set traefik-ondemand-service to version 1.5.0 2021-10-01 22:23:43 +02:00
Alexis Couvreur
29b1da52ea feat: add dockerhub registry (#17) 2021-10-01 22:19:02 +02:00
Alexis COUVREUR
42b0a9a354 ci: build docker image on tag 2021-10-01 22:05:31 +02:00
Alexis COUVREUR
b0a2758002 fix(docs): use markdown instead of HTML
Traefik Pilots forbids HTML usage.
2021-10-01 21:00:15 +02:00
Matthias Schneider
e6cbbcbe60 docs: add kubernetes docker-compose demo (#10) 2021-10-01 18:52:25 +02:00
Matthias Schneider
711f6858d2 docs: add matthias contributor (#9) 2021-10-01 18:46:59 +02:00
Matthias Schneider
1d3af8cd80 docs: add kubernetes documentation (#15) 2021-10-01 18:41:23 +02:00
Matthias Schneider
0e920523d2 feat: add kubernetes support (#14) 2021-10-01 18:40:43 +02:00
Alexis COUVREUR
b1350d0028 docs(examples): add more detailed steps 2021-10-01 08:54:25 +02:00
Alexis COUVREUR
7b670488fa docs: use image fom the repo 2021-10-01 08:54:25 +02:00
Alexis COUVREUR
60a81100ef docs(examples): add multiple containers example 2021-10-01 08:54:20 +02:00
Alexis COUVREUR
7663b06403 docs(swarm): rename to docker-stack.yml 2021-10-01 08:28:32 +02:00
Alexis COUVREUR
030e8da427 docs: add features 2021-09-29 14:14:42 +02:00
Alexis COUVREUR
89b8edc8d2 docs: add badges 2021-09-29 14:14:18 +02:00
Alexis COUVREUR
b331421a1b docs: add traefik-ondemand-service link 2021-09-28 17:31:53 +02:00
Alexis COUVREUR
569be26c81 docs: link to example folder instead 2021-09-28 15:57:28 +02:00
Alexis COUVREUR
a0e59ce0f6 docs: use new dynamic loading page gif 2021-09-28 15:54:48 +02:00
Alexis COUVREUR
f22b5ec0c6 docs: add docker class and swarm examples 2021-09-28 15:37:56 +02:00
Alexis COUVREUR
052bcc72ae fix(pages): display service name and error on error page 2021-09-28 15:32:14 +02:00
Alexis COUVREUR
f2eabd73b6 ci(release): use PAT to trigger docker build on tag 2021-09-28 14:22:43 +02:00
Alexis COUVREUR
e11151c08f ci(docker): expose port 10000 2021-09-28 14:21:55 +02:00