Comments (9)
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.
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.
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.
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.
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.
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.
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.
It is very verbose, it is working @didlawowo 😀
from slimfaas.
I have merge the pullrequest and now arm64 image is included as arm64 plateform inside the default slimfaas image.
from slimfaas.
Related Issues (20)
- improve readability in SlimWorker.cs HOT 1
- remove occurences of lightfaas for slimfaas HOT 1
- document mock kubernetes mode HOT 1
- add tests HOT 1
- clean commit history HOT 1
- Optimization for sync mode to juste proxify request whitout serialization HOT 1
- améliorer l'organisation du code : tout est à la racine 🤣 HOT 1
- enhancement : Remplace Lock by more performant solution
- enhancement : remove redis dependencies
- start call pod only when one instance ready => time gain
- No code coverage in SonarCloud HOT 2
- Finish feeback from PullRequest https://github.com/AxaFrance/SlimFaas/pull/19
- Can I create a web service using this project? HOT 4
- Is is possible to have k8s api permission limited to a namespace scope HOT 6
- Cluster raft initialisation not working HOT 8
- Feature : Allow internal function not exposed in public and add Security isolation between functions
- Feature: Scale up
- Feature : add a way to agregate all swagger from function in one exposed by SlimFaas.
- fix: raft cluster has no leader error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimfaas.