AxaFrance / SlimFaas

SlimFaas : The slimest and simplest Function As A Service
MIT License
171 stars 7 forks source link

Cluster raft initialisation not working #46

Open didlawowo opened 5 months ago

didlawowo commented 5 months ago

Issue and Steps to Reproduce

raft cluster has no leader

Rebuild the image to get arm64 change cluster role to match correct namespace

Versions

latest

Screenshots

image

Expected

raft initialisation complete

Actual

all 3 statefulset are crying Raft cluster has no leader

Additional Details

guillaume-chervet commented 5 months ago

Thank you @didlawowo . What kind of machine are you using? Does it happen every time when you are starting the namespace?

didlawowo commented 5 months ago

it run on k3s with pi5 and arm64 build on my own.

didlawowo commented 4 months ago

not sure it's work but ihm show nothing on port forward

image

guillaume-chervet commented 4 months ago

May you copy paste your yaml script? @didlawowo For exemple demo port are not 5000 and defaut route do not answer. Ypu can try /health for exemple.

guillaume-chervet commented 4 months ago

Hi @didlawowo if you are running the demo or configuration like the demo SlimFaas should be exposed at http://localhost:30021/status-function/fibonacci3 for example.

didlawowo commented 4 months ago

May you copy paste your yaml script? @didlawowo For exemple demo port are not 5000 and defaut route do not answer. Ypu can try /health for exemple.

there is no web interface for managing function ?

guillaume-chervet commented 4 months ago

Not yet @didlawowo, but it is a good idea, I may reuse that one : https://github.com/AxaFrance/dailyclean

didlawowo commented 4 months ago

yeah i think it's mandatory to have observability with serverless