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: docs/containers/tutorial-kubernetes-tools.md
+33-1Lines changed: 33 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ The added files are:
119
119
120
120
-*azds.yaml*. This contains settings for Azure Dev Spaces, which provides a rapid, iterative debugging experience in Azure Kubernetes Service. For more information, see [the Azure Dev Spaces documentation](/azure/dev-spaces/azure-dev-spaces).
121
121
122
-
:::moniker range="vs-2017"
122
+
:::moniker range="vs-2017"
123
123
124
124
## Publish to Azure Kubernetes Service (AKS)
125
125
@@ -161,8 +161,40 @@ To do this, you first need to double-check that you've installed everything as d
161
161
162
162
::: moniker-end
163
163
164
+
::: moniker range=">=vs-2019"
165
+
166
+
## Publish to Azure Kubernetes Service (AKS)
167
+
168
+
1. In the **Startup Projects** dropdown, choose the project that contains *azds.yaml*, and in the dropdown next to the green arrow, choose **Container in Kubernetes**.
169
+
170
+
You'll be asked to specify or create an AKS cluster.
171
+
172
+

173
+
174
+
Choose the subscription and cluster that you want to use, and choose **OK**.
175
+
176
+
If this is the first time you've used Azure Dev Spaces on the cluster, you'll be asked if you want to enable it.
177
+
178
+
1. The application deploys and launches in the browser.
179
+
180
+

181
+
182
+
The URL is *localhost* with a random port. Port forwarding redirects requests to the Kubernetes cluster in AKS.
183
+
184
+
::: moniker-end
185
+
164
186
Congratulations! You can now use the full power of Visual Studio for all your Kubernetes app development.
165
187
188
+
## Remove Kubernetes support
189
+
190
+
1. In **Solution Explorer**, under **Properties**, open *launchSettings.json*.
191
+
192
+
1. Delete the section **Container in Kubernetes**.
193
+
194
+
1. If you're switching back to Docker compose, select that project in **Solution Explorer**, right-click and choose **Set as Startup Project**.
195
+
196
+
1. (Optional) You can also delete other artifacts listed as mentioned earlier in the article, such as the **charts** folder and *azds.yaml*.
197
+
166
198
## Next steps
167
199
168
200
Learn more about Kubernetes development on Azure by reading the [AKS documentation](/azure/aks).
0 commit comments