Skip to content

Commit

Permalink
Merge pull request #1258 from wzshiming/doc/resource-usage
Browse files Browse the repository at this point in the history
Update the resource usage docs
  • Loading branch information
wzshiming authored Oct 31, 2024
2 parents 6ce3630 + 8fa3f8f commit 7ed1074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/en/docs/user/resource-usage-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ expression: |
With CEL expressions, it is even possible to simulate resource usages dynamically. For example, the following expression
yields memory usage that grows linearly with time.
```yaml
expression: (pod.SinceSecond() / 60.0) * Quantity("1Mi")
expression: 'Quantity("1Mi") * (pod.SinceSecond() / 60.0)'
```
Please refer to [CEL expressions in `kwok`][CEL expressions] for an exhausted list that may be helpful to configure dynamic resource usage.

Expand Down

0 comments on commit 7ed1074

Please sign in to comment.