Skip to content

Commit ced298d

Browse files
authored
Merge pull request #102700 from dlepow/acifix3
[ACI] Liveness/readiness probe update
2 parents 26fef01 + 1591d6e commit ced298d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

articles/container-instances/container-instances-liveness-probe.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ This article explains how to deploy a container group that includes a liveness p
1212

1313
Azure Container Instances also supports [readiness probes](container-instances-readiness-probe.md), which you can configure to ensure that traffic reaches a container only when it's ready for it.
1414

15+
> [!NOTE]
16+
> Currently you cannot use a liveness probe in a container group deployed to a virtual network.
17+
1518
## YAML deployment
1619

1720
Create a `liveness-probe.yaml` file with the following snippet. This file defines a container group that consists of an NGNIX container that eventually becomes unhealthy.

articles/container-instances/container-instances-readiness-probe.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ This article explains how to deploy a container group that includes a readiness
1313

1414
Azure Container Instances also supports [liveness probes](container-instances-liveness-probe.md), which you can configure to cause an unhealthy container to automatically restart.
1515

16+
> [!NOTE]
17+
> Currently you cannot use a readiness probe in a container group deployed to a virtual network.
18+
1619
## YAML configuration
1720

1821
As an example, create a `readiness-probe.yaml` file with the following snippet that includes a readiness probe. This file defines a container group that consists of a container running a small web app. The app is deployed from the public `mcr.microsoft.com/azuredocs/aci-helloworld` image. This container app is also demonstrated in quickstarts such as [Deploy a container instance in Azure using the Azure CLI](container-instances-quickstart.md).

0 commit comments

Comments
 (0)