Updated 10.1 Using Azure Dev Spaces and AKS (markdown)
parent
5680ee1332
commit
0b7dc4b094
@ -3,10 +3,36 @@ DRAFT STATE
|
||||
|
||||
Steps:
|
||||
|
||||
```
|
||||
az extension add --name dev-spaces-preview
|
||||
```
|
||||
|
||||

|
||||
|
||||
```
|
||||
az aks use-dev-spaces -g your-aks-devspaces-resgrp -n YourAksDevSpacesCluster
|
||||
```
|
||||
|
||||

|
||||
|
||||
Once devspaces tooling is added, type `azds --version` to get the version of DevSpaces tooling.
|
||||
Tested DevSpaces tooling version was:
|
||||
|
||||
```
|
||||
Azure Dev Spaces CLI (Preview)
|
||||
0.1.20190320.5
|
||||
API v2.17
|
||||
```
|
||||
|
||||
Future versions should work, unless they introduce _breaking changes_.
|
||||
|
||||
## Prepare environment for DevSpaces
|
||||
|
||||
From a Powershell console, go to `/src` folder and run `prepare-devspaces.ps1` (no parameters needed). This script will copy the `inf.yaml` and `app.yaml` files from `/k8s/helm` to all project folders. This is needed due to a limitation of devspaces tooling used. Note that the files copied are added in `.gitignore`.
|
||||
|
||||
## Deploy to a devspace
|
||||
|
||||
If you want to deploy a project to a specific devspace, just go to its source folder (where `.csproj` is) and type `azds up`. This will deploy the project to the current devspace.
|
||||
|
||||
Due to the status of devspaces today, _Web SPA_ do not use Dev Spaces (so, you can't deploy the SPA in devspace).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user