Skip to content

Commit e1230e3

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into rolyon-rbac-custom-roles-rest-api
2 parents 8342708 + 5d320e5 commit e1230e3

File tree

6 files changed

+82
-17
lines changed

6 files changed

+82
-17
lines changed

articles/aks/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@
221221
href: free-standard-pricing-tiers.md
222222
- name: Use Draft (preview)
223223
href: draft.md
224+
- name: Use Draft and the DevX extension for Visual Studio Code (preview)
225+
href: draft-devx-extension-aks.md
224226
- name: Use proximity placement groups
225227
href: reduce-latency-ppg.md
226228
- name: Upgrade the node image
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Use Draft and the DevX extension for Visual Studio Code with Azure Kubernetes Service (AKS) (preview)
3+
description: Learn how to use Draft and the DevX extension for Visual Studio Code with Azure Kubernetes Service (AKS)
4+
author: schaffererin
5+
ms.topic: article
6+
ms.date: 03/20/2023
7+
ms.author: schaffererin
8+
---
9+
10+
# Use Draft and the DevX extension for Visual Studio Code with Azure Kubernetes Service (AKS) (preview)
11+
12+
[Draft][draft] is an open-source project that streamlines Kubernetes development by taking a non-containerized application and generating the DockerFiles, Kubernetes manifests, Helm charts, Kustomize configurations, and other artifacts associated with a containerized application. The Azure Kubernetes Service (AKS) DevX extension for Visual Studio Code enhances non-cluster experiences, allowing you to create deployment files to deploy your applications to AKS. Draft is the available feature included in the DevX extension.
13+
14+
This article shows you how to use Draft with the DevX extension to draft a DockerFile, draft a Kubernetes deployment and service, and build an image on Azure Container Registry (ACR).
15+
16+
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
17+
18+
## Before you begin
19+
20+
* You need an Azure resource group and an AKS cluster with an attached ACR. To attach an ACR to your AKS cluster, use `az aks update -n <cluster-name> -g <resource-group-name> --attach-acr <acr-name>` or follow the instructions in [Authenticate with ACR from AKS][aks-acr-authenticate].
21+
* Download and install the [Azure Kubernetes Service DevX Extension for Visual Studio Code][devx-extension].
22+
23+
## Draft with the DevX extension for Visual Studio Code
24+
25+
To get started with Draft in Visual Studio Code, press **Ctrl + Shift + P** in your Visual Studio Code window and enter **AKS Developer**. From here, you'll see available Draft commands:
26+
27+
* Get started
28+
* Draft a DockerFile
29+
* Draft a Kubernetes Deployment and Service
30+
* Build an Image on Azure Container Registry
31+
32+
### Get started
33+
34+
The `Get started` command shows you all the steps you need to get up and running on AKS.
35+
36+
1. Press **Ctrl + Shift + P** to open the command palette.
37+
2. Enter **AKS Developer**.
38+
3. Select **AKS Developer: Get started**.
39+
40+
You'll see the following getting started page:
41+
42+
:::image type="content" source="./media/draft-devx-extension-aks/draft-devx-extension-aks-get-started-page-vs-code.png" alt-text="Screenshot showing the Get started page in Visual Studio Code." lightbox="./media/draft-devx-extension-aks/draft-devx-extension-aks-get-started-page-vs-code.png":::
43+
44+
### Draft a DockerFile
45+
46+
`Draft a DockerFile` adds the minimum required DockerFile to your project directory.
47+
48+
1. Press **Ctrl + Shift + P** to open the command palette.
49+
2. Enter **AKS Developer**.
50+
3. Select **AKS Developer: Draft a DockerFile**.
51+
52+
### Draft a Kubernetes Deployment and Service
53+
54+
`Draft a Kubernetes Deployment and Service` adds the appropriate deployment and service files to your application, which allows you to deploy to your AKS cluster. The supported deployment types include: Helm, Kustomize, and Kubernetes manifests.
55+
56+
1. Press **Ctrl + Shift + P** to open the command palette.
57+
2. Enter **AKS Developer**.
58+
3. Select **AKS Developer: Draft a Kubernetes Deployment and Service**.
59+
60+
### Build an Image on Azure Container Registry
61+
62+
`Build an Image on Azure Container Registry` builds an image on your ACR to use in your deployment files.
63+
64+
1. Press **Ctrl + Shift + P** to open the command palette.
65+
2. Enter **AKS Developer**.
66+
3. Select **AKS Developer: Build an Image on Azure Container Registry**.
67+
68+
## Next steps
69+
70+
In this article, you learned how to use Draft and the DevX extension for Visual Studio Code with AKS. To use Draft with the Azure CLI, see [Draft for AKS][draft-aks-cli].
71+
72+
<!-- LINKS -->
73+
74+
[draft-aks-cli]: ../aks/draft.md
75+
[aks-acr-authenticate]: ../aks/cluster-container-registry-integration.md
76+
[devx-extension]: https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.aks-devx-tools
77+
[draft]: https://github.com/Azure/draft
59.9 KB
Loading

articles/communication-services/quickstarts/call-automation/includes/recording-byos-private-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: include file
1111
ms.author: dbasantes
1212
---
1313

14-
### Using Azure blob storage for external storage
14+
## Using Azure blob storage for external storage
1515

1616
```csharp
1717
StartRecordingOptions recordingOptions = new StartRecordingOptions(new ServerCallLocator("<serverCallId>"))

articles/storage/file-sync/file-sync-server-endpoint-delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: kendownie
99
ms.subservice: files
1010
---
1111

12-
# Deprovision your Azure File Sync server endpoint
12+
# Deprovision or delete your Azure File Sync server endpoint
1313

1414
Removing a server endpoint means stopping sync to and from that server location with the cloud endpoint (Azure file share) in the same sync group. Before you deprovision your server endpoint, there are a few steps you should take to maintain data integrity and availability. This article covers several methods of deprovisioning and the appropriate guidance, ordered by scenario. Follow the steps for the use case that best applies to you.
1515

articles/synapse-analytics/synapse-notebook-activity.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,10 @@ Select the **Add to pipeline** button on the upper right corner to add a noteboo
5858

5959
### Designate a parameters cell
6060

61-
# [Classic notebook](#tab/classical)
62-
63-
To parameterize your notebook, select the ellipses (...) to access the other cell actions menu at the far right. Then select **Toggle parameter cell** to designate the cell as the parameters cell.
64-
65-
[![screenshot-showing-toggle-parameter](./media/synapse-notebook-activity/toggle-parameter-cell.png)](./media/synapse-notebook-activity/toggle-parameter-cell.png#lightbox)
66-
67-
# [Preview notebook](#tab/preview)
68-
6961
To parameterize your notebook, select the ellipses (...) to access the **more commands** at the cell toolbar. Then select **Toggle parameter cell** to designate the cell as the parameters cell.
7062

7163
[![screenshot-showing-azure-notebook-toggle-parameter](./media/synapse-notebook-activity/azure-notebook-toggle-parameter-cell.png)](./media/synapse-notebook-activity/azure-notebook-toggle-parameter-cell.png#lightbox)
7264

73-
---
74-
7565
Azure Data Factory looks for the parameters cell and uses the values as defaults for the parameters passed in at execution time. The execution engine will add a new cell beneath the parameters cell with input parameters to overwrite the default values.
7666

7767

@@ -108,10 +98,6 @@ You can reference other notebooks in a Synapse notebook activity via calling [%r
10898
- [%run magic](./spark/apache-spark-development-using-notebooks.md#notebook-reference) copies all cells from the referenced notebook to the %run cell and shares the variable context. When notebook1 references notebook2 via `%run notebook2` and notebook2 calls a [mssparkutils.notebook.exit](./spark/microsoft-spark-utilities.md#exit-a-notebook) function, the cell execution in notebook1 will be stopped. We recommend you use %run magic when you want to "include" a notebook file.
10999
- [mssparkutils notebook utilities](./spark/microsoft-spark-utilities.md#notebook-utilities) calls the referenced notebook as a method or a function. The variable context isn't shared. When notebook1 references notebook2 via `mssparkutils.notebook.run("notebook2")` and notebook2 calls a [mssparkutils.notebook.exit](./spark/microsoft-spark-utilities.md#exit-a-notebook) function, the cell execution in notebook1 will continue. We recommend you use mssparkutils notebook utilities when you want to "import" a notebook.
110100

111-
>[!Note]
112-
> Run another Synapse notebook from a Synapse pipeline will only work for a notebook with Preview enabled.
113-
114-
115101
## See notebook activity run history
116102

117103
Go to **Pipeline runs** under the **Monitor** tab, you'll see the pipeline you have triggered. Open the pipeline that contains notebook activity to see the run history.
@@ -215,4 +201,4 @@ Here's the sample JSON of a Synapse notebook activity output:
215201

216202
```
217203
## Known issues
218-
If the notebook name is parametrized in the Pipeline Notebook activity, then the notebook version in unpublished status can't be referenced in the debug runs.
204+
If the notebook name is parametrized in the Pipeline Notebook activity, then the notebook version in unpublished status can't be referenced in the debug runs.

0 commit comments

Comments
 (0)