Open thangchung opened 1 year ago
Deploy on Kubernetes:
And might apply ArgoCD => https://github.com/Archisman-Mridha/kubernetes-cicd-with-argo
Cannot run 2 different runtimes on a sidecar model with dapr
(spin
run wasm runtime, but daprd runs normal workload, so when you run it as a sidecar, it will be failed when started daprd). 2 solutions here:
nomad
, see => https://github.com/thangchung/dapr-labs/blob/main/build/hashicorp/nomad/jobs/counter-api-dapr.nomad.hcl#L60daprd
on each node, and deployment + svc is just traditional deploy so we can run spin there)
POC: uuid -> text, and map it into Rust code (Spin doesn't support uuid right now)
Run mixed workload in k8s => https://github.com/suneetnangia/wasm-orchestration-with-spin
Refs: https://www.thorsten-hans.com/how-to-blog-backends-with-spin-and-fermyon-cloud/