Skip to content

Commit a398edb

Browse files
committed
Fix Container Apps sessions doc warnings
1 parent 337727d commit a398edb

2 files changed

Lines changed: 8 additions & 54 deletions

File tree

articles/container-apps/sessions-custom-container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Session pools support **Liveness** and **Startup** probe types. For more informa
5555

5656
When you create or update a session pool, specify probes in the `properties.customContainerTemplate.containers` section of your request payload.
5757

58-
For the full API specification, see [SessionPools API](/rest/api/resource-manager/containerapps/container-apps-session-pools/create-or-update?view=rest-resource-manager-containerapps-2025-07-01&tabs=HTTP).
58+
For the full API specification, see [SessionPools API](/rest/api/resource-manager/containerapps/container-apps-session-pools/create-or-update?view=rest-resource-manager-containerapps-2025-07-01&tabs=HTTP&preserve-view=true).
5959

6060
#### Example
6161

@@ -101,7 +101,7 @@ For the full API specification, see [SessionPools API](/rest/api/resource-manage
101101

102102
If your session pool isn't maintaining the expected number of healthy `readySessionInstances`, consider the following:
103103

104-
1. **Check container logs** - Review session container logs to identify issues with probe endpoints or container startup. See [View logs for custom container session pools](../code-interpreter/bring-your-own-code-interpreter/tutorials/custom-container-logs.md).
104+
1. **Check container logs** - Review session container logs to identify issues with probe endpoints or container startup. See [View logs for custom container session pools](troubleshooting.md#view-logs).
105105
2. **Verify probe configuration** - Ensure probe paths, ports, and thresholds are configured correctly for your application.
106106
3. **Review container health** - Check for issues inside your container that prevent probe endpoints from responding successfully.
107107

articles/container-apps/sessions-tutorial-shell-mcp.md

Lines changed: 6 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -133,58 +133,12 @@ Deploy a session pool by using an ARM template with the MCP server enabled.
133133
134134
1. Deploy the template:
135135
136-
## Create a shell session pool with MCP server
137-
138-
Use an ARM template to create a shell session pool with MCP server enabled.
139-
140-
1. Create a deployment template file named `deploy.json`:
141-
142-
```json
143-
{
144-
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
145-
"contentVersion": "1.0.0.0",
146-
"parameters": {
147-
"name": { "type": "String" },
148-
"location": { "type": "String" }
149-
},
150-
"resources": [
151-
{
152-
"type": "Microsoft.App/sessionPools",
153-
"apiVersion": "2025-10-02-preview",
154-
"name": "[parameters('name')]",
155-
"location": "[parameters('location')]",
156-
"properties": {
157-
"poolManagementType": "Dynamic",
158-
"containerType": "Shell", # Set the "containerType" property to "Shell"
159-
"scaleConfiguration": {
160-
"maxConcurrentSessions": 5
161-
},
162-
"sessionNetworkConfiguration": {
163-
"status": "EgressEnabled"
164-
},
165-
"dynamicPoolConfiguration": {
166-
"lifecycleConfiguration": {
167-
"lifecycleType": "Timed",
168-
"coolDownPeriodInSeconds": 300
169-
}
170-
},
171-
"mcpServerSettings": {
172-
"isMCPServerEnabled": true # Add the "mcpServerSettings" section to enable the MCP server
173-
}
174-
}
175-
}
176-
]
177-
}
178-
```
179-
180-
2. Deploy the ARM template.
181-
182-
```azurecli
183-
az deployment group create \
184-
--resource-group $RESOURCE_GROUP \
185-
--template-file deploy.json \
186-
--parameters name=$SESSION_POOL_NAME location=$LOCATION
187-
```
136+
```azurecli
137+
az deployment group create \
138+
--resource-group $RESOURCE_GROUP \
139+
--template-file deploy.json \
140+
--parameters name=$SESSION_POOL_NAME location=$LOCATION
141+
```
188142
189143
## Get the MCP server endpoint
190144

0 commit comments

Comments
 (0)