sablierapp / sablier

Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
https://sablierapp.dev/
GNU Affero General Public License v3.0
1.46k stars 48 forks source link

v1.8.0-beta.13 image or latest beta tag image doesn't work on raspberry pi based kubernetes cluster. #380

Closed ArKam closed 1 month ago

ArKam commented 2 months ago

Describe the bug When running sablier using image 1.8.0-beta.13 on a raspberry pi 4B 8Gb based kubernetes cluster, the container start correctly and is able to read the configuration file. It however fail at the moment traefik send it a request.

Context

Expected behavior Sablier send the loading page back to traefik and scale up the endpoint.

Additional context Here are the sablier container logs: https://paste.opendev.org/show/bW8eB3f3oFViuUsnY5N3/

TBN: There are no errors on Traefik logs.

acouvreur commented 2 months ago

Can you provide more details with the whole configuration ?

The API is not that robust, and does do enough check to provide good errors to you and panics instead.

Maybe your missing a parameter or something else. This will be fixed in the future versions.

ArKam commented 2 months ago

Sure!

Here is the traefik middleware configuration: https://paste.opendev.org/show/bgl8htLDok7EL7gk0VPE/

Here is the sablier configuration: https://paste.opendev.org/show/bSxzx7d8Cit9VdvXdTm3/

Here is the ingress configuration: https://paste.opendev.org/show/b4R26iLw1CohGPyjfF32/

Tell me if you need further informations.

ArKam commented 2 months ago

Do you need anything more regarding this issue? How can I help you tackle it?

acouvreur commented 2 months ago

I've created a pull request for this, it just adds a nil check on retruned instances.

This mean that it won't crash, but I expect some unexpected feedback from the dynamic ui.

Please share with me as soon as you can if this resolves your issue.

acouvreur commented 2 months ago

:tada: This issue has been resolved in version 1.8.0-beta.22 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ArKam commented 1 month ago

Alright! I'll test that out! Thanks a lot for the prompt patching!

ArKam commented 1 month ago

@acouvreur ok, using sablier:beta is working, it loads the configuration and listen for event!

Thanks a lot!

acouvreur commented 1 month ago

:tada: This issue has been resolved in version 1.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: