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/container-apps/sessions-custom-container.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,8 @@ az containerapp sessionpool create \
70
70
--network-status EgressDisabled \
71
71
--max-sessions 10 \
72
72
--ready-sessions 5 \
73
-
--env-vars "key1=value1""key2=value2"
73
+
--env-vars "key1=value1""key2=value2" \
74
+
--location <LOCATION>
74
75
```
75
76
76
77
This command creates a session pool with the following settings:
@@ -93,6 +94,7 @@ This command creates a session pool with the following settings:
93
94
|`--max-sessions`|`10`| The maximum number of sessions that can be allocated at the same time. |
94
95
|`--ready-sessions`|`5`| The target number of sessions that are ready in the session pool all the time. Increase this number if sessions are allocated faster than the pool is being replenished. |
95
96
|`--env-vars`|`"key1=value1" "key2=value2"`| The environment variables to set in the container. |
97
+
|`--location`|`"Supported Location"`| The location of the session pool. |
96
98
97
99
To update the session pool, use the `az containerapp sessionpool update` command.
0 commit comments