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
Copy file name to clipboardExpand all lines: articles/dev-spaces/how-to/run-dev-spaces-windows-containers.md
+14-22Lines changed: 14 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: "Interact with Windows containers"
3
3
services: azure-dev-spaces
4
-
ms.date: 07/25/2019
4
+
ms.date: 01/16/2020
5
5
ms.topic: "conceptual"
6
6
description: "Learn how to run Azure Dev Spaces on an existing cluster with Windows containers"
7
7
keywords: "Azure Dev Spaces, Dev Spaces, Docker, Kubernetes, Azure, AKS, Azure Kubernetes Service, containers, Windows containers"
8
8
---
9
9
10
10
# Interact with Windows containers using Azure Dev Spaces
11
11
12
-
You can enable Azure Dev Spaces on both new and existing Kubernetes namespaces. Azure Dev Spaces will run and instrument services that run on Linux containers. Those services can also interact with applications that run on Windows containers in the same namespace. This article shows you how to use Dev Spaces to run services in a namespace with existing Windows containers.
12
+
You can enable Azure Dev Spaces on both new and existing Kubernetes namespaces. Azure Dev Spaces will run and instrument services that run on Linux containers. Those services can also interact with applications that run on Windows containers in the same namespace. This article shows you how to use Dev Spaces to run services in a namespace with existing Windows containers. At this time, you cannot debug or attach to Windows containers with Azure Dev Spaces.
13
13
14
14
## Set up your cluster
15
15
@@ -31,8 +31,9 @@ The following example output shows a cluster with both a Windows and Linux node.
Apply a [taint][using-taints] to your Windows nodes. The taint on your Windows nodes prevents Dev Spaces from scheduling Linux containers to run on your Windows nodes. The following command example command applies a taint to the *aksnpwin987654* Windows node from the previous example.
cd dev-spaces/samples/existingWindowsBackend/mywebapi-windows
56
57
```
57
58
58
-
The sample application uses [Helm 2][helm-installed] to run the Windows service on your cluster. Install Helm on your cluster and grant it the correct permissions:
Navigate to the `charts` directory and run the Windows service:
59
+
The sample application uses [Helm][helm-installed] to run the Windows service on your cluster. Navigate to the `charts` directory and use Helm run the Windows service:
68
60
69
61
```console
70
62
cd charts/
71
-
helm install . --namespace dev
63
+
kubectl create ns dev
64
+
helm install windows-service . --namespace dev
72
65
```
73
66
74
67
The above command uses Helm to run your Windows service in the *dev* namespace. If you don't have a namespace named *dev*, it will be created.
@@ -117,16 +110,15 @@ spec:
117
110
Use `helm list` to list the deployment for your Windows service:
118
111
119
112
```cmd
120
-
$ helm list
121
-
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
0 commit comments