Skip to content

Commit 04f392b

Browse files
committed
Simplify jobs commands
1 parent 2cd3607 commit 04f392b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To use manual jobs, you first create a job with trigger type `Manual` and then s
3333
az containerapp job create \
3434
--name "$JOB_NAME" --resource-group "$RESOURCE_GROUP" --environment "$ENVIRONMENT" \
3535
--trigger-type "Manual" \
36-
--replica-timeout 1800 --replica-retry-limit 1 --replica-completion-count 1 --parallelism 1 \
36+
--replica-timeout 1800 \
3737
--image "mcr.microsoft.com/k8se/quickstart-jobs:latest" \
3838
--cpu "0.25" --memory "0.5Gi"
3939
```
@@ -64,7 +64,7 @@ Create a job in the Container Apps environment that starts every minute using th
6464
az containerapp job create \
6565
--name "$JOB_NAME" --resource-group "$RESOURCE_GROUP" --environment "$ENVIRONMENT" \
6666
--trigger-type "Schedule" \
67-
--replica-timeout 1800 --replica-retry-limit 1 --replica-completion-count 1 --parallelism 1 \
67+
--replica-timeout 1800 \
6868
--image "mcr.microsoft.com/k8se/quickstart-jobs:latest" \
6969
--cpu "0.25" --memory "0.5Gi" \
7070
--cron-expression "*/1 * * * *"

articles/container-apps/tutorial-event-driven-jobs.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ To deploy the job, you must first build a container image for the job and push i
117117
--environment "$ENVIRONMENT" \
118118
--trigger-type "Event" \
119119
--replica-timeout "1800" \
120-
--replica-retry-limit "1" \
121-
--replica-completion-count "1" \
122-
--parallelism "1" \
123120
--min-executions "0" \
124121
--max-executions "10" \
125122
--polling-interval "60" \
@@ -140,9 +137,6 @@ To deploy the job, you must first build a container image for the job and push i
140137
| Parameter | Description |
141138
| --- | --- |
142139
| `--replica-timeout` | The maximum duration a replica can execute. |
143-
| `--replica-retry-limit` | The number of times to retry a replica. |
144-
| `--replica-completion-count` | The number of replicas to complete successfully before a job execution is considered successful. |
145-
| `--parallelism` | The number of replicas to start per job execution. |
146140
| `--min-executions` | The minimum number of job executions to run per polling interval. |
147141
| `--max-executions` | The maximum number of job executions to run per polling interval. |
148142
| `--polling-interval` | The polling interval at which to evaluate the scale rule. |

0 commit comments

Comments
 (0)