Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Standby pools for Azure Container Instances is currently in preview. Previews are made available to you on the condition that you agree to the supplemental terms of use. Some aspects of this feature may change prior to general availability (GA).
This article steps through updating or deleting a standby pool for Azure Container Instances.
Prerequisites
Before utilizing standby pools, complete the feature registration and configure role based access controls listed in the Standby pools for Azure Container Instances overview page.
Update a standby pool
A standby pool can be updated at any point in time. The settings that are adjustable after creation include maxReadyCapacity
and the associated containerGroupProfile
. If you update the container group profile of the standby pool, the new profile must also be in the same subscription and location as the standby pool. Once the profile has been updated, the pool will drain all existing instances and replaced them with new ones.
Update an existing standby pool using az standby-container-group-pool update.
az standby-container-group-pool update \
--resource-group myResourceGroup
--location WestCentralUS \
--name myStandbyPool \
--max-ready-capacity 20 \
--refill-policy always \
--container-profile-id "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/containerGroupProfiles/mycontainergroupprofile"
Delete a standby pool
Delete an existing standby pool using az standby-container-group-pool delete.
az standby-container-group-pool delete \
--resource-group myResourceGroup \
--name myStandbyPool
Next steps
Get standby pool and container details using the standby pool runtime view APIs.