Skip to content

Commit

Permalink
Make the example match the screenshot (#1330)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Laguna <ruben.laguna@gmail.com>
  • Loading branch information
ecerulm authored Mar 7, 2024
1 parent ba0ef28 commit 4952a9d
Show file tree
Hide file tree
Showing 16 changed files with 96 additions and 96 deletions.
12 changes: 6 additions & 6 deletions content/docs/1.5/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.0/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.1/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.10/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.11/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.12/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.13/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.14/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.2/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.3/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.4/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -33,8 +33,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
12 changes: 6 additions & 6 deletions content/docs/2.5/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ triggers:
metadata:
# Required
timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database.
start: 30 * * * * # Every hour on the 30th minute
end: 45 * * * * # Every hour on the 45th minute
start: 0 6 * * * # At 6:00 AM
end: 0 20 * * * # At 8:00 PM
desiredReplicas: "10"
```
Expand All @@ -35,8 +35,8 @@ triggers:
>
> For example, the following schedule is not valid:
> ```yaml
> start: 30 * * * *
> end: 30 * * * *
> start: 0 6 * * * # At 6:00 AM
> end: 0 6 * * * # also at 6:00 AM
>```

### How does it work?
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- type: cron
metadata:
timezone: Asia/Kolkata
start: 30 * * * *
end: 45 * * * *
start: 0 6 * * *
end: 0 20 * * *
desiredReplicas: "10"
```
Loading

0 comments on commit 4952a9d

Please sign in to comment.