Skip to content

Commit

Permalink
Merge pull request #72 from kam193/kam193-scaler-config-docs
Browse files Browse the repository at this point in the history
Updated scaler configuration docs
  • Loading branch information
cccs-kevin committed Aug 21, 2023
2 parents 867a4db + 8ea877a commit 8afbcfc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/installation/configuration/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ The core components configuration section (`core:`) of the configuration file co
host: 127.0.0.1
port: 6380
scaler:
additional_labels: null
cpu_overallocation: 1
memory_overallocation: 1
overallocation_node_limit: null
service_defaults:
backlog: 100
environment:
Expand Down Expand Up @@ -336,6 +340,15 @@ Here is an example configuration block with inline comments about the purpose of
```yaml
core:
scaler:
# Percentage of CPU overallocation, represented as 0-1 float
cpu_overallocation: 0.5
# Percentage of RAM overallocation, represented as 0-1 float
memory_overallocation: 1
# If the system has this many nodes or more overallocation is ignored
overallocation_node_limit: 3
# Additional labels to be applied to services('=' delimited)
additional_labels:
- env=production
service_defaults:
# How many files in a service queue are considered a backlog.
# This weights how important scaling up a service is relative
Expand Down

0 comments on commit 8afbcfc

Please sign in to comment.