Skip to content

Commit e14b441

Browse files
author
Simon Jakesch
committed
Add --replica-retry-limit 1 to job create examples
1 parent 6e1305f commit e14b441

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

articles/container-apps/jobs-get-started-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ To use manual jobs, you first create a job with a trigger type of `Manual` and t
3333
--name "$JOB_NAME" --resource-group "$RESOURCE_GROUP" --environment "$ENVIRONMENT" \
3434
--trigger-type "Manual" \
3535
--replica-timeout 1800 \
36+
--replica-retry-limit 1 \
3637
--image "mcr.microsoft.com/k8se/quickstart-jobs:latest" \
3738
--cpu "0.25" --memory "0.5Gi"
3839
```
@@ -64,6 +65,7 @@ az containerapp job create \
6465
--name "$JOB_NAME" --resource-group "$RESOURCE_GROUP" --environment "$ENVIRONMENT" \
6566
--trigger-type "Schedule" \
6667
--replica-timeout 1800 \
68+
--replica-retry-limit 1 \
6769
--image "mcr.microsoft.com/k8se/quickstart-jobs:latest" \
6870
--cpu "0.25" --memory "0.5Gi" \
6971
--cron-expression "*/1 * * * *"

0 commit comments

Comments
 (0)