Giter Club home page Giter Club logo

Comments (9)

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024 1

It was hard but i finally succeded https://hub.docker.com/r/axaguildev/slimfaas-arm64/tags
Now i need to find a way to test it.

from slimfaas.

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024

Hi @didlawowo, thank you for your issue.

Yes sure it will be a nice enhancement to add.
Alpine have an arm64 image and dotnet have aot arm64 compilation mode.

from slimfaas.

didlawowo avatar didlawowo commented on June 3, 2024

i have successfully build slimfaas arm64 with

ARG RUNTIME_ID=linux-musl-arm64
# ARG RUNTIME_ID=linux-musl-x64

but i don't understand how the db work, cause there is no config to connect to the database

from slimfaas.

didlawowo avatar didlawowo commented on June 3, 2024

trying to build with dockerfile full arm64 and get this error

84.49 /usr/bin/ld.bfd: /__w/1/s/src/native/libs/System.Security.Cryptography.Native/pal_x509.c:490:(.text.ReadNextPublicCert+0x128): undefined reference to `fopen64'

found this

https://gitlab.alpinelinux.org/alpine/aports/-/issues/15573

from slimfaas.

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024

Thank you @didlawowo , yes i struggle yesteday evening to build a arm64 image.
I am starting to understand that slimfaas would be awesome on arm64 architecture on small device.

from slimfaas.

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024

Hi @didlawowo i have a kind of deadlock during the build on full arm64/v8 https://github.com/AxaFrance/SlimFaas/actions/runs/8951482569/job/24587891272
Did you encouter that?

from slimfaas.

didlawowo avatar didlawowo commented on June 3, 2024

i have tested, it's better than my image, but not sure it's work

Starting in namespace slimfaas
Waiting for at least 2 pods to be ready
Waiting for at least 2 pods to be ready
Adding node  http://10.0.1.74:3262/
Adding node  http://10.0.3.149:3262/
Starting node slimfaas-0
Node started slimfaas-0 http://10.0.1.74:3262/
>> Configuration: 
- partitioning:false
- lowerElectionTimeout:400
- upperElectionTimeout:800
- requestTimeout:00:01:20.0000000
- rpcTimeout:00:00:40.0000000
- publicEndPoint:http://10.0.1.74:3262/
- coldStart:false
- requestJournal:memoryLimit:5
- requestJournal:expiration:00:01:00
- heartbeatThreshold:0.2
CORS Allowing origins: *
CORS Allowing all origins
Raft cluster has no leader
Raft cluster has no leader
SlimDataSynchronizationWorker: Start
Raft cluster has no leader
RaftClientHandlerFactory.CreateHandler(raftClient)
RaftClientHandlerFactory.CreateHandler(raftClient)
New cluster leader is elected. Leader address is http://10.0.1.74:3262/
Term of local cluster member is 1. Election timeout 00:00:00.4720000
warn: DotNext.Net.Cluster.Consensus.Raft.Http.RaftHttpCluster[74015]
      Replication of http://10.0.3.149:3262/ is failed. Retry replication from entry 1
SlimDataSynchronizationWorker: SlimFaas pod slimfaas-1 has to be added in the cluster
RaftClientHandlerFactory.CreateHandler(raftClient)
warn: DotNext.Net.Cluster.Consensus.Raft.Http.RaftHttpCluster[74015]
      Replication of http://10.0.2.50:3262/ is failed. Retry replication from entry 1
RaftClientHandlerFactory.CreateHandler(raftClient)
warn: DotNext.Net.Cluster.Consensus.Raft.Http.RaftHttpCluster[74015]
      Replication of http://10.0.2.50:3262/ is failed. Retry replication from entry 2

on node 1

Starting in namespace slimfaas
Waiting current pod to be ready
Adding node  http://10.0.1.74:3262/
Adding node  http://10.0.2.50:3262/
Adding node  http://10.0.3.149:3262/
Starting node slimfaas-1
Node started slimfaas-1 http://10.0.2.50:3262/
>> Configuration: 
- partitioning:false
- lowerElectionTimeout:400
- upperElectionTimeout:800
- requestTimeout:00:01:20.0000000
- rpcTimeout:00:00:40.0000000
- publicEndPoint:http://10.0.2.50:3262/
- coldStart:false
- requestJournal:memoryLimit:5
- requestJournal:expiration:00:01:00
- heartbeatThreshold:0.2
CORS Allowing origins: *
CORS Allowing all origins
Raft cluster has no leader
Raft cluster has no leader
SlimDataSynchronizationWorker: Start
Raft cluster has no leader
RaftClientHandlerFactory.CreateHandler(raftClient)
RaftClientHandlerFactory.CreateHandler(raftClient)
RaftClientHandlerFactory.CreateHandler(raftClient)
Raft cluster has no leader
Raft cluster has no leader
Raft cluster has no leader
New cluster leader is elected. Leader address is http://10.0.1.74:3262/
Term of local cluster member is 1. Election timeout 00:00:00.5500000

from slimfaas.

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024

It is very verbose, it is working @didlawowo 😀

from slimfaas.

guillaume-chervet avatar guillaume-chervet commented on June 3, 2024

I have merge the pullrequest and now arm64 image is included as arm64 plateform inside the default slimfaas image.

from slimfaas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.