Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Provide guidance on how CRON scaler works #698

Merged
merged 3 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion content/docs/2.0/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -38,6 +38,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.1/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -38,6 +38,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.2/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -38,6 +38,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.3/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -38,6 +38,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.4/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -38,6 +38,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.5/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -40,6 +40,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.6/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -40,6 +40,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
12 changes: 11 additions & 1 deletion content/docs/2.7/scalers/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_file = "cron_scaler"

### Trigger Specification

This specification describes the `cron` trigger that scales based on a Cron Schedule.
This specification describes the `cron` trigger that scales workloads in/out based on a cron Schedule.

```yaml
triggers:
Expand Down Expand Up @@ -40,6 +40,16 @@ triggers:
> end: 30 * * * *
>```

### How does it work?

The CRON scaler allows you to define a time range in which you want to scale your workloads out/in.

When the time window starts, it will scale from the minimum number of replicas to the desired number of replicas based on your configuration.

![](/img/scalers/cron/how-it-works.png)

What the CRON scaler does **not** do, is scale your workloads based on a recurring schedule.

### Example

```yaml
Expand Down
Binary file added static/img/scalers/cron/how-it-works.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.