dotnet new worker -o worker
cd worker
code-insiders .
- Add Dockerfile
az acr build -t workersidecar1:latest -r shayne .
- Portal deploy instance from ACR
- View Logs
dotnet new web -o simpleweb
cd simpleweb
code-insiders .
- Add services.AddHealthChecks()
- Add endpoints.MapHealthChecks("/healthy");
- dotnet run
- browse to http://localhost:5001/healthy
Big Demo
kubectl apply -f k8s/deployment.yaml
kubectl apply -f k8s/worker.yaml
kubectl get all
- Back to the logs in storage explorer