Open KaiWalter opened 7 months ago
For anyone facing the same issue, the workaround is providing the IP to the cluster DNS via environment variable in the deployment yaml:
containers:
- name: http-server
...
env:
- name: DNS_SERVER
value: "<ClusterIP>:53"
Get the IP with kubectl get svc -n kube-system kube-dns
Thanks for sharing! @leothetryhard
Summary
When trying to call an (AKS cluster) internal service or an external service like
I get this error when running on a cluster - with local
wasmedge run
the call is succeeding.Current State
I install #wasmedge 0.3.0 with #kwasm node installer ghcr.io/kwasm/kwasm-node-installer:v0.3.1 on AKS,
add a runtime class,
deploy a service with #knative-serving,
Expected State
I expect DNS resolution of cluster is applied and call to internal and external services is succeeding.
Reproduction steps
wasmedge compile target/wasm32-wasi/release/warpwasi_dapr_rs.wasm target/warpwasi_dapr_rs.wasm
infrastructure: https://github.com/ZEISS/enterprise-wasm/tree/knative/infra/aks-kn-dapr module: https://github.com/ZEISS/enterprise-wasm/tree/knative/samples/warpwasi-dapr-rs
Screenshots
No response
Any logs you want to share for showing the specific issue
No response
Components
Rust SDK
WasmEdge Version or Commit you used
0.13.5
Operating system information
CBL-Mariner/Linux
Hardware Architecture
arm64
Compiler flags and options
No response