Skip to content

Commit f8cda85

Browse files
authored
Merge pull request #301600 from v-thepet/app7
Freshness: Azure App Service 7
2 parents e9dfad1 + 939e6f6 commit f8cda85

File tree

10 files changed

+138
-120
lines changed

10 files changed

+138
-120
lines changed

articles/app-service/includes/tutorial-sidecar/common-faqs.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,32 @@
22
author: cephalin
33
ms.service: azure-app-service
44
ms.topic: include
5-
ms.date: 05/08/2025
5+
ms.date: 06/18/2025
66
ms.author: cephalin
77
---
88

99
### How do sidecar containers handle internal communication?
1010

11-
Sidecar containers share the same network host as the main container, so the main container (and other sidecar containers) can reach any port on the sidecar with `localhost:<port>`. The example *startup.sh* uses `localhost:4318` to access port 4318 on the **otel-collector** sidecar.
11+
Sidecar containers share the same network host as the main container, so the main container and other sidecar containers can reach any port on the sidecar with `localhost:<port>`. The example *startup.sh* uses `localhost:4318` to access port 4318 on the otel-collector sidecar.
1212

13-
In the **Edit container** dialog, the **Port** box isn't currently used by App Service. You can use it as part of the sidecar metadata, such as to indicate which port the sidecar is listening to.
13+
In the **Edit container** dialog, the **Port** setting isn't currently used by App Service. You can use it as part of the sidecar metadata, such as to indicate which port the sidecar is listening to.
1414

1515
### Can a sidecar container receive internet requests?
1616

17-
No. App Service routes internet requests only to the main container. For code-based Linux apps, the built-in Linux container is the main container, and any sidecar container ([sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers)) should be added with `IsMain=false`. For custom containers, all but one of the [sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers) should have `IsMain=false`.
17+
No. App Service routes internet requests only to the main container. For code-based Linux apps, the built-in Linux container is the main container, and any sidecar [`sitecontainers`](/azure/templates/microsoft.web/sites/sitecontainers) should be added with `IsMain=false`.
1818

19-
For more information on configuring `IsMain`, see [Microsoft.Web sites/sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers).
19+
For custom containers, all except one of the [`sitecontainers`](/azure/templates/microsoft.web/sites/sitecontainers) should have `IsMain=false`. For more information on configuring `IsMain`, see [Microsoft.Web sites/sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers).
2020

2121
### How do I use volume mounts?
2222

23-
The Volume mounts feature enables you to share non-persistent files and directories between containers within your Web App.
23+
The volume mounts feature lets you share non-persistent files and directories between containers within your web app. To add or configure volume mounts, use **Volume mounts** on the **Add container** or **Edit container** page.
2424

2525
:::image type="content" source="../../media/tutorial-custom-container-sidecar/configure-volume-mounts.png" alt-text="Screenshot showing a volume mount configuration for a sidecar container.":::
2626

27-
**Volume sub path:** This is a logical directory path that is automatically created, and is not referenced within the container. Containers that are configured with the same volume sub path can share files and directories with each other.
27+
- **Volume sub path** is an automatically created logical directory path that isn't referenced within the container. Containers that are configured with the same volume sub path can share files and directories.
28+
- **Container mount path** is a directory path that you reference within the container. The container mount path is mapped to the volume sub path.
2829

29-
**Container mount path:** This corresponds to a directory path that you reference within the container. The container mount path is mapped to the volume sub path.
30-
31-
For example, suppose the following volume mounts are configured:
30+
For example, suppose you configure the following volume mounts:
3231

3332
| Sidecar name | Volume sub path | Container mount path | Read-only |
3433
| ------------ | --------------- | -------------------- | --------- |
@@ -38,9 +37,9 @@ For example, suppose the following volume mounts are configured:
3837
| Container4 | /directory4 | /container1Vol | False |
3938

4039
Based on these settings, the following conditions apply:
41-
- If Container1 creates **/container1Vol/myfile.txt**, Container2 can read the file via **/container2Vol/myfile.txt**.
42-
- If Container1 creates **/container1Vol/directory3/myfile.txt**, Container2 can read the file via **/container2Vol/directory3/myfile.txt**, and Container3 can read and write to the file via **/container3Vol/myfile.txt**.
43-
- Container4 does not share a volume mount in common with any of the other containers.
40+
- If Container1 creates */container1Vol/myfile.txt*, Container2 can read the file via */container2Vol/myfile.txt*.
41+
- If Container1 creates */container1Vol/directory3/myfile.txt*, Container2 can read the file via */container2Vol/directory3/myfile.txt*, and Container3 can read and write to the file via */container3Vol/myfile.txt*.
42+
- Container4 doesn't share a volume mount in common with any of the other containers.
4443

4544
> [!Note]
46-
> For code-based Linux apps, the built-in Linux container cannot use volume mounts.
45+
> For code-based Linux apps, the built-in Linux container can't use volume mounts.

articles/app-service/includes/tutorial-sidecar/sidecar-overview.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
author: cephalin
33
ms.service: azure-app-service
44
ms.topic: include
5-
ms.date: 05/08/2025
5+
ms.date: 06/19/2025
66
ms.author: cephalin
77
---
88

9-
## What's a sidecar container?
9+
Sidecar containers in App Service let you deploy extra services and features to your Linux apps without tightly coupling them to the built-in or custom main container. The sidecar containers run alongside the main application container in the same App Service plan.
1010

11-
In Azure App Service, you can add up to nine sidecar containers for each Linux app. Sidecar containers let you deploy extra services and features to your Linux apps without making them tightly coupled to the main container (built-in or custom). For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one such monitoring example.
11+
You can add up to nine sidecar containers for each Linux app in App Service. For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one example for monitoring.
1212

13-
The sidecar containers run alongside the main application container in the same App Service plan.
7.31 KB
Loading
19.4 KB
Loading
9.33 KB
Loading
7.12 KB
Loading
1.34 KB
Loading
-43.6 KB
Loading
-14.7 KB
Loading

0 commit comments

Comments
 (0)