Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 8aa8285

Browse files
togashidmuniemimu
authored andcommitted
Add the Strategy Labeling example doc
1 parent 8529a6b commit 8aa8285

File tree

2 files changed

+408
-1
lines changed

2 files changed

+408
-1
lines changed

telemetry-aware-scheduling/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ There can be four strategy types in a policy file and rules associated with each
182182
The above rules would create label `telemetry.aware.scheduling.scheduling-policy/foo=1` when `node_metric_1` is greater than `node_metric_2` and also greater than 100.
183183
If instead `node_metric_2` would be greater than `node_metric_1` and also greater than 100, the produced label would be `telemetry.aware.scheduling.scheduling-policy/foo=2`.
184184
If neither metric would be greater than 100, no label would be created. When there are multiple candidates with equal values, the resulting label is
185-
random among the equal candidates. Label cleanup happens automatically.
185+
random among the equal candidates. Label cleanup happens automatically. An example of the labeling strategy can be found in [here](docs/strategy-labeling-example.md)
186186

187187
dontschedule and deschedule - which incorporate multiple rules - function with an OR operator. That is if any single rule is broken the strategy is considered violated.
188188
Telemetry policies are namespaced, meaning that under normal circumstances a workload can only be associated with a pod in the same namespaces.

0 commit comments

Comments
 (0)