Commit Graph

24 Commits

Author SHA1 Message Date
renovate[bot]
858943c3f4 chore(deps): update golang docker tag to v1.23 2024-09-10 23:46:49 -04:00
renovate[bot]
d06a81b486 chore(deps): update nginx docker tag to v1.27.1 2024-09-10 23:26:39 -04:00
renovate[bot]
4eeb327850 fix(deps): update golang.org/x/exp digest to 701f63a 2024-09-10 23:25:37 -04:00
renovate[bot]
18262ae649 fix(deps): update golang.org/x/exp digest to e7e105d 2024-09-09 10:53:14 -04:00
renovate[bot]
932d7d93d5 chore(deps): update rancher/k3s docker tag to v1.31.0 2024-09-03 17:50:56 -04:00
renovate[bot]
c35cb4e39c chore(deps): update apache/apisix docker tag to v3.10.0 2024-09-03 17:50:46 -04:00
renovate[bot]
554589ff07 fix(deps): update golang.org/x/exp digest to 9b4947d 2024-08-22 23:04:11 -04:00
renovate[bot]
383056efec chore(deps): update rancher/k3s docker tag to v1.30.4 2024-08-21 23:55:49 -04:00
renovate[bot]
893878b507 fix(deps): update golang.org/x/exp digest to 0cdaa3a 2024-08-09 00:42:28 -04:00
renovate[bot]
5e9f541fe9 chore(deps): update rancher/k3s docker tag to v1.30.3 2024-07-31 23:26:01 -04:00
renovate[bot]
2862e8166d fix(deps): update golang.org/x/exp digest to 8a7402a 2024-07-24 12:14:08 -04:00
renovate[bot]
5985712abb chore(deps): update envoyproxy/envoy docker tag to v1.31 2024-07-24 12:13:45 -04:00
renovate[bot]
69c56fda2e fix(deps): update golang.org/x/exp digest to 46b0784 2024-07-08 00:10:53 -04:00
Alexis Couvreur
be7ace0e05 perf(providers): retrieve state on start instead of assuming starting (#350)
When an instance does not exist yet and needs to be started, its status is not assumed to be starting anymore.

Instead, the statue will be retrieved from the provider. This changes one thing, it's that you may be able to start and access your services instantly because they'll be instantly seen as ready.

With this change, you might want to make sure that your containers have a proper healthcheck used to determine when the application is able to process incoming requests.

* refactor: add interface guards

* refactor(providers): remove instance.State as a return value from Stop and Start

* test(e2e): add healthcheck on nginx container

Because now the container check is so fast, we need to add a delay on which the container is considered started and healthy to have a proper waiting page.

* fix(tests): using acouvreur/whoami:v1.10.2 instead of containous/whoami:v1.5.0

This image simply retrieve the curl binary from curlimages/curl:8.8.0 to be able to add proper docker healthcheck commands.

Once this is merged with traefik/whoami, I'll update back to the original image.

See https://github.com/traefik/whoami/issues/33
2024-07-08 00:10:39 -04:00
Alexis Couvreur
52a7d2195f feat(providers): add provider.auto-stop-on-startup argument (#346)
This feature adds the capability to stop unregistered running instances upon startup.

Previously, you had to stop running instances manually or issue an initial request that will shut down instances afterwards.

With this change, all discovered instances will be shutdown. They need to be registered using labels. E.g.: sablier.enable=true

Fixes #153
2024-07-04 12:06:21 -04:00
renovate[bot]
18149dda53 chore(deps): update ubuntu docker tag to v24 2024-06-28 16:13:33 -04:00
Alexis Couvreur
eb236ab03d fix(deps): update tinygo to v0.32.0 2024-06-28 16:02:11 -04:00
renovate[bot]
52bba90a59 fix(deps): update module github.com/tetratelabs/proxy-wasm-go-sdk to v0.24.0 2024-06-28 16:02:11 -04:00
renovate[bot]
f6eeee81a2 fix(deps): update module github.com/stretchr/testify to v1.9.0 2024-06-28 15:54:21 -04:00
renovate[bot]
c9db7d91fc chore(deps): update nginx docker tag to v1.27.0 2024-06-28 15:41:17 -04:00
renovate[bot]
83d383e600 chore(deps): update rancher/k3s docker tag to v1.30.2 2024-06-28 14:52:34 -04:00
renovate[bot]
fe5bfafe15 fix(deps): update golang.org/x/exp digest to 7f521ea 2024-06-28 13:49:32 -04:00
renovate[bot]
1f62f35763 chore(deps): update apache/apisix docker tag to v3.9.1 2024-06-28 13:37:39 -04:00
Alexis Couvreur
70f337d95a feat(plugin): add proxywasm plugin (#284)
* feat(plugin): add `proxywasm` plugin

The `proxywasm` plugin is a WASM Filter following the ProxyWasm ABI Specification using the proxywasm go sdk

This allows extensibility with any reverse proxy who implements the ProxyWasm ABI Specification.

The current WASM Filter was successfully tested with APISIX, Envoy, Nginx with ngx_wasm_module from Kong and Istio.

Fixes #145
2024-06-28 13:22:06 -04:00