Skip to content

Commit 6fb2660

Browse files
author
Cephas Lin
committed
tulika review
1 parent 3bce501 commit 6fb2660

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/app-service/tutorial-custom-container-sidecar.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords: azure app service, web app, linux, windows, docker, container, sidecar
1212

1313
In this tutorial, you add OpenTelemetry collector as a sidecar container to a Linux custom container app in Azure App Service.
1414

15-
In Azure App Service, you can add up to [TODO: #] sidecar containers for each custom container app. Sidecar containers let you deploy extra services and features to your container application without making them tightly coupled to your main application container. For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one such monitoring example.
15+
In Azure App Service, you can add up to 5 sidecar containers for each sidecar-enabled custom container app. Sidecar containers let you deploy extra services and features to your container application without making them tightly coupled to your main application container. For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one such monitoring example.
1616

1717
For more information about sidecars, see [Sidecar pattern](/azure/architecture/patterns/sidecar).
1818

@@ -28,8 +28,8 @@ First you create the resources that the tutorial uses (for more information, see
2828
1. In the [Azure Cloud Shell](https://shell.azure.com), run the following commands:
2929

3030
```azurecli-interactive
31-
git clone https://github.com/lcephas/template [TODO: change]
32-
cd template [TODO: change]
31+
git clone https://github.com/Azure-Samples/app-service-sidecar-tutorial-prereqs
32+
cd app-service-sidecar-tutorial-prereqs
3333
azd provision
3434
```
3535
@@ -86,7 +86,7 @@ First you create the resources that the tutorial uses (for more information, see
8686
:::image type="content" source="media/tutorial-custom-container-sidecar/create-wizard-container-panel.png" alt-text="Screenshot showing the web app create wizard and settings for the container image and the sidecar support highlighted.":::
8787
8888
> [!NOTE]
89-
> These settings are configured differently in sidecar-enabled containers. For more information, see [Differences for sidecar-enabled containers](#differences-for-sidecar-enabled-containers).
89+
> These settings are configured differently in sidecar-enabled apps. For more information, see [Differences for sidecar-enabled apps](#differences-for-sidecar-enabled-apps).
9090
9191
1. Select **Review + create**, then select **Create**.
9292
@@ -110,7 +110,7 @@ In this section, you add a sidecar container to your custom container app.
110110
- **Tag**: **latest**
111111
- **Port**: **4317**
112112
113-
Port 4317 is the default port used by the sample container to receive OpenTelemetry data. It's accessible from any other container in the app at `localhost:4317`. This is exactly how the nginx container sends data to the sidecar (see [TODO: add location]).
113+
Port 4317 is the default port used by the sample container to receive OpenTelemetry data. It's accessible from any other container in the app at `localhost:4317`. This is exactly how the Nginx container sends data to the sidecar (see the [OpenTelemetry module configuration for the sample Nginx image](https://github.com/Azure-Samples/app-service-sidecar-tutorial-prereqs/blob/main/images/nginx/opentelemetry_module.conf)).
114114
115115
1. Select **Apply**.
116116
@@ -120,7 +120,7 @@ In this section, you add a sidecar container to your custom container app.
120120
121121
## 4. Configure environment variables
122122
123-
For the sample scenario, the otel-collector sidecar is configured to export the OpenTelemetry data to Azure Monitor, but it needs the connection string as an environment variable (see [TODO: add location]).
123+
For the sample scenario, the otel-collector sidecar is configured to export the OpenTelemetry data to Azure Monitor, but it needs the connection string as an environment variable (see the [OpenTelemetry configuration file for the otel-collector image](https://github.com/Azure-Samples/app-service-sidecar-tutorial-prereqs/blob/main/images/otel-collector/otel-collector-config.yaml)).
124124
125125
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.
126126
@@ -135,7 +135,7 @@ You configure environment variables for the containers like any App Service app,
135135
:::image type="content" source="media/tutorial-custom-container-sidecar/configure-app-settings.png" alt-text="Screenshot showing a web app's Configuration page with two app settings added.":::
136136
137137
> [!NOTE]
138-
> Certain app settings don't apply to sidecar-enabled custom container apps. For more information, see [Differences for sidecar-enabled containers](#differences-for-sidecar-enabled-containers)
138+
> Certain app settings don't apply to sidecar-enabled apps. For more information, see [Differences for sidecar-enabled apps](#differences-for-sidecar-enabled-apps)
139139
140140
## 5. Verify in Application Insights
141141
@@ -157,9 +157,9 @@ When you no longer need the environment, you can delete the resource group, App
157157
azd down
158158
```
159159

160-
## Differences for sidecar-enabled containers
160+
## Differences for sidecar-enabled apps
161161

162-
Sidecar-enabled custom container apps differ from custom container apps that aren't sidecar-enabled in that the settings aren't set, especially in how you configure basic container settings. Custom container apps that aren't sidecar-enabled are configured mainly using app settings, but sidecar-enabled custom container apps are configured directly as resource properties in the app. For example, these app settings don't apply for sidecar-enabled custom container apps:
162+
You configure sidecar-enabled apps differently than apps that aren't sidecar-enabled. Specifically, you don't configure the the main container and sidecars with app settings, but directly in the resource properties. These app settings don't apply for sidecar-enabled apps:
163163

164164
- Registry authentication settings: `DOCKER_REGISTRY_SERVER_URL`, `DOCKER_REGISTRY_SERVER_USERNAME` and `DOCKER_REGISTRY_SERVER_PASSWORD`.
165165
- Container port: `WEBSITES_PORT`

0 commit comments

Comments
 (0)