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/aks/includes/azd/azd-login-ts.md
+45-39Lines changed: 45 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ ms.topic: include
4
4
ms.date: 02/21/2024
5
5
---
6
6
7
+
### AZD Login on GitHub Codespaces
8
+
7
9
> [!IMPORTANT]
8
10
> Certain Azure security policies cause conflicts when used to sign in with `azd auth login`. As a workaround, you can perform a curl request to the localhost url you were redirected to after you logged in.
9
11
@@ -14,47 +16,51 @@ The workaround requires the Azure CLI for authentication. If you don't have it o
14
16
az login --scope https://graph.microsoft.com/.default
15
17
```
16
18
1. Copy the "localhost" URL from the failed redirect
19
+
17
20
1. In a new terminal window, type `curl` and paste your url
21
+
18
22
1. If it works, code for a webpage saying "You have logged into Microsoft Azure!" appears
<p>You can close this window, or we will redirect you to the <a href="https://docs.microsoft.com/cli/azure/">Azure CLI documentation</a> in 1 minute.</p>
44
-
<h3>Announcements</h3>
45
-
<p>[Windows only] Azure CLI is collecting feedback on using the <a href="https://learn.microsoft.com/windows/uwp/security/web-account-manager">Web Account Manager</a> (WAM) broker for the login experience.</p>
46
-
<p>You may opt-in to use WAM by running the following commands:</p>
47
-
<code>
48
-
az config set core.allow_broker=true<br>
49
-
az account clear<br>
50
-
az login
51
-
</code>
52
-
</body>
53
-
</html>
54
-
```
55
-
56
-
5. Close the new terminal and open the old terminal
57
-
6. Copy and note down which subscription_id you want to use
58
-
7. Paste in the subscription_ID to the command `az account set -n {sub}`
<p>You can close this window, or we will redirect you to the <a href="https://docs.microsoft.com/cli/azure/">Azure CLI documentation</a> in 1 minute.</p>
48
+
<h3>Announcements</h3>
49
+
<p>[Windows only] Azure CLI is collecting feedback on using the <a href="https://learn.microsoft.com/windows/uwp/security/web-account-manager">Web Account Manager</a> (WAM) broker for the login experience.</p>
50
+
<p>You may opt-in to use WAM by running the following commands:</p>
51
+
<code>
52
+
az config set core.allow_broker=true<br>
53
+
az account clear<br>
54
+
az login
55
+
</code>
56
+
</body>
57
+
</html>
58
+
```
59
+
60
+
1. Close the new terminal and open the old terminal. A JSON list of your subscriptions should appear.
61
+
62
+
1. Copy and note down the subscription_id you want to use. It will be listed as `id`.
63
+
64
+
1. Paste it in to the command `az account set -n {sub}`.
Copy file name to clipboardExpand all lines: articles/aks/learn/quick-kubernetes-deploy-azd.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,14 +95,17 @@ The Azure Development Template contains all the code needed to create the servic
95
95
96
96
- If you have multiple Azure subscriptions, select the appropriate subscription for billing using the [az account set](/cli/azure/account#az-account-set) command.
97
97
98
-
## Create resources for your cluster
98
+
## Create and deploy resources for your cluster
99
99
100
100
AZD runs all the hooks inside of the `azd-hooks` folder to pre-register, provision, then deploy these services.
101
101
102
-
- **Store front**: Web application for customers to view products and place orders.
103
-
- **Product service**: Shows product information.
104
-
- **Order service**: Places orders.
105
-
- **Rabbit MQ**: Message queue for an order queue.
102
+
The AZD template creates a new resource group with an Azure Kubernetes cluster and Azure Keyault. The keyvault is used to store client secrets. Within the cluster, it runs your app's services in the pets namespace.
103
+
104
+
- **makeline-service**: Processes orders from the queue and completing them.
105
+
- **order-service**: Place orders for products
106
+
- **product-service**: Perform create, read, update, or delete operations on products.
107
+
- **store-front**: Web app for customers to view products and place orders
108
+
- **rabbit-mq**: Message queue for an order queue.
106
109
107
110
1. Create all your resources with the `azd up` command.
0 commit comments