You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
az group create --name wasm --location westeurope
az acr create --resource-group wasm --name wasmcfm --sku Standard
az acr update --name wasmcfm --anonymous-pull-enabled
Build .NET sample and image
cd ./dotnet_wasm
dotnet build
docker build -t wasmcfm.azurecr.io/sample:v1 .
az acr login -n wasmcfm
docker push wasmcfm.azurecr.io/sample:v1
Install on AKS
az aks create --name wasmaks --resource-group wasm -s Standard_DS3_v2 --node-osdisk-type Ephemeral
az aks nodepool add --resource-group wasm --cluster-name wasmaks --name mywasipool --node-count 1 --workload-runtime WasmWasi
az aks get-credentials --resource-group wasm --name wasmaks
kubectl apply -f ./deploy/aks/runtime.yml
kubectl apply -f ./deploy/aks/workload.yml
kubectl run -it busybox --image busybox -- sh
wget http://wasm-dotnet/ -O-