Skip to content

roketworks/dotnet-meetup-devspaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Building and Debugging Dotnet Core services on Kubernetes using Azure Dev Spaces

Slides & code samples from dotnet meetup Belfast (11/09/2018)

Running samples

Prerequisites

  • A azure account and active subscription
  • Azure CLI (2.0.43 or above)
  • Visual Studio Code
  • Azure Dev Spaces Extension for Visual Studio Code

Provision Services

First you will need to create your AKS (Azure Kubernetes Service) cluster, which can be done by running the following commands:

az group create --name DevSpacesDemo --location westeurope az aks create -g DevSpacesDemo -n AksDevSpacesDemo --location westeurope --kubernetes-version 1.11.2 --enable-addons http_application_routing -c 1 --disable-rbac -p devspaces-demo az aks use-dev-spaces -g DevSpacesDemo -n AksDevSpacesDemo 

N.B. Azure Dev spaces currently does not support the North Europe region and the minimum node size supported for AKS is Standard_A1

Prepare Services

Run the following command in the frontend directory:

azds prep --public 

This will also produce configuration that exposes a public endpoint for this service.

Run the following command in the webapi directory:

azds prep 

As we don't need a public endpoint for this service, we can remove the --public flag.

References

About

Samples & Demo of Building & Debugging dotnet core apps on Kubernetes with Azure Dev Spaces

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published