Skip to content

Commit 2e456c6

Browse files
author
Jill Grant
authored
Merge pull request #288477 from maud-lv/ml-sc-aksfix
Add update container step to AKS quickstart
2 parents 548abde + 4270883 commit 2e456c6

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed
50.7 KB
Loading
47.6 KB
Loading

articles/service-connector/quickstart-portal-aks-connection.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.
4545

4646
1. Select **Next: Authentication** to choose an authentication method.
4747

48-
### [Workload identity](#tab/UMI)
48+
### [Workload identity (recommended)](#tab/UMI)
4949

5050
Select **Workload identity** to authenticate through [Microsoft Entra workload identity](/entra/workload-id/workload-identities-overview) to one or more instances of an Azure service. Then select a user-assigned managed identity to enable workload identity.
5151

@@ -71,6 +71,22 @@ Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.
7171
1. Select **Network View** to see all the service connections in a network topology view.
7272
:::image type="content" source="./media/aks-quickstart/list-and-view.png" alt-text="Screenshot of the Azure portal, listing and viewing the connections.":::
7373

74+
## Update your container
75+
76+
Now that you created a connection between your AKS cluster and target service, you need to retrieve the connection secrets and deploy them in your container.
77+
78+
1. In the [Azure portal](https://portal.azure.com/), navigate to your AKS cluster resource and select **Service Connector (Preview)**.
79+
1. Select the newly created connection, and then select **YAML snippet**. This action opens a panel displaying a sample YAML file generated by Service Connector.
80+
1. To set the connection secrets as environment variables in your container, you have two options:
81+
82+
* Directly create a deployment using the YAML sample code snippet provided. The snippet includes highlighted sections showing the secret object that will be injected as the environment variables. Select **Apply** to proceed with this method.
83+
84+
:::image type="content" source="media/aks-quickstart/sample-yaml-snippet.png" alt-text="Screenshot of the Azure portal showing the sample YAML snippet to create a new connection in AKS.":::
85+
86+
* Alternatively, under **Resource Type**, select **Kubernetes Workload**, and then select an existing Kubernetes workload. This action sets the secret object of your new connection as the environment variables for the selected workload. After selecting the workload, select **Apply**.
87+
88+
:::image type="content" source="media/aks-quickstart/kubernetes-snippet.png" alt-text="Screenshot of the Azure portal showing the Kubernetes snippet to create a new connection in AKS.":::
89+
7490
## Next steps
7591

7692
Follow the following tutorials to start connecting to Azure services on AKS cluster with Service Connector.

articles/service-connector/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ items:
100100
href: tutorial-python-aks-openai-connection-string.md
101101
- name: Connect to Azure OpenAI using workload identity
102102
href: tutorial-python-aks-openai-workload-identity.md
103-
- name: Connect to Azure SQL Database using a connection string
103+
- name: Connect to Azure SQL Database
104104
href: tutorial-python-aks-sql-database-connection-string.md
105105
- name: Concepts
106106
expanded: false

0 commit comments

Comments
 (0)