nigelpoulton / spin1 Goto Github PK
View Code? Open in Web Editor NEWSample spin app for blog article demo
Sample spin app for blog article demo
Hi Nigel,
I’m working through your well-written blog post to try out WebAssembly on Kubernetes.
After having deployed the example application, I’m running into the same error response over and over again.
→ curl -v http://127.0.0.1:8081/spin/hello
* Trying 127.0.0.1:8081...
* Connected to 127.0.0.1 (127.0.0.1) port 8081 (#0)
> GET /spin/hello HTTP/1.1
> Host: 127.0.0.1:8081
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Date: Mon, 06 Nov 2023 19:55:53 GMT
<
* Connection #0 to host 127.0.0.1 left intact
When checking the Traefik logs, I see the following so I assume the error is in the routing configuration.
→ kubectl logs service/traefik
time="2023-11-06T19:23:45Z" level=info msg="Configuration loaded from flags."
time="2023-11-06T19:54:28Z" level=error msg="Skipping service: no endpoints found" serviceName=wasm-spin providerName=kubernetes ingress=wasm-ingress servicePort="&ServiceBackendPort{Name:,Number:80,}" namespace=default
time="2023-11-06T19:54:28Z" level=error msg="Skipping service: no endpoints found" namespace=default providerName=kubernetes servicePort="&ServiceBackendPort{Name:,Number:80,}" serviceName=wasm-spin ingress=wasm-ingress
Is there anything I can do about it?
All the best,
Marco
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.