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/app-service/tutorial-sidecar.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ For more information about side container in App Service, see:
25
25
26
26
First you create the resources that the tutorial uses. They're used for this particular scenario and aren't required for sidecar containers in general.
27
27
28
-
1. In the [Azure Cloud Shell](https://shell.azure.com), run the following commands. Be sure to supply the `<environment-name>`
28
+
1. In the [Azure Cloud Shell](https://shell.azure.com), run the following commands. Be sure to supply the `<environment-name>`.
@@ -59,6 +59,7 @@ First you create the resources that the tutorial uses. They're used for this par
59
59
> - A [container registry](/azure/container-registry/container-registry-intro) with two images deployed:
60
60
> - An Nginx image with the OpenTelemetry module.
61
61
> - An OpenTelemetry collector image, configured to export to [Azure Monitor](/azure/azure-monitor/overview).
62
+
> - A user-assigned managed identity with the `AcrPull` permission on the resource group (to pull images from the registry).
62
63
> - A [log analytics workspace](/azure/azure-monitor/logs/log-analytics-overview).
63
64
> - An [Application Insights](/azure/azure-monitor/app/app-insights-overview) component.
64
65
@@ -73,7 +74,7 @@ cd MyFirstAzureWebApp
73
74
az webapp up --name <app-name> --os-type linux
74
75
```
75
76
76
-
After a few minutes, this basic web application is deployed as MyFirstAzureWebApp.dll to App Service.
77
+
After a few minutes, this .NET web application is deployed as MyFirstAzureWebApp.dll to a new App Service app.
77
78
78
79
## 3. Add a sidecar container
79
80
@@ -102,7 +103,7 @@ In this section, you add a sidecar container to your Linux app. The portal exper
102
103
103
104
### [Use ARM template](#tab/template)
104
105
105
-
1. In the Cloud Shell, run the following command to add to the web app the user-assigned managed identity that `azd provision` created. This identity already has the permissions to pull from the container registry. Use the value of `<managed-identity-resource-id>` in the `azd provision` output.
106
+
1. In the Cloud Shell, run the following command to add to the web app the user-assigned managed identity that `azd provision` created. Use the value of `<managed-identity-resource-id>` in the `azd provision` output.
106
107
107
108
```azurecli-interactive
108
109
az webapp identity assign --identities <managed-identity-resource-id>
@@ -153,7 +154,7 @@ In this section, you add a sidecar container to your Linux app. The portal exper
153
154
154
155
1. For the template input, select the resource group that has the web app. Select **Review + Create**, then select **Create**.
155
156
156
-
Since the portal UI isn't available to you, you can't see this sidecar container as part of the app, but you should be able to [see related start-up logs for the sidecar](troubleshoot-diagnostic-logs.md).
157
+
Since the portal UI isn't available to you, you can't see this sidecar container as part of the app, but you should be able to see related start-up logs for the sidecar in the [App Service app's logs](troubleshoot-diagnostic-logs.md).
157
158
158
159
-----
159
160
@@ -163,7 +164,9 @@ For the sample scenario, the otel-collector sidecar is configured to export the
163
164
164
165
You configure environment variables for the containers like any App Service app, by configuring [app settings](configure-common.md#configure-app-settings). The app settings are accessible to all the containers in the app.
165
166
166
-
1. In the app's management page, from the left menu, select **Environment variables**.
167
+
1. Navigate to the App Service app's management page.
168
+
169
+
1. From the left menu, select **Environment variables**.
167
170
168
171
1. Add an app setting by selecting **Add** and configure it as follows:
@@ -213,7 +216,7 @@ In this step, you create the instrumentation for your app according to the steps
213
216
```
214
217
215
218
> [!TIP]
216
-
> This approach deploys the startup.sh file separately from your application. That way, the instrumentation configuration is separate from your application code. However, you can use other deployment methods to deploy the script together with your application.
219
+
> This approach deploys the *startup.sh* file separately from your application. That way, the instrumentation configuration is separate from your application code. However, you can use other deployment methods to deploy the script together with your application.
217
220
218
221
1. Back in the app's management page, from the left menu, select **Configuration**.
0 commit comments