Skip to content

Commit

Permalink
refactor analyze and merge module for crane agent
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyuechen committed Mar 2, 2022
1 parent b2a534f commit b5acd4a
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 401 deletions.
16 changes: 8 additions & 8 deletions examples/ensurance/waterline1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ spec:
nodeLocalGet:
localCacheTTLSeconds: 60
objectiveEnsurances:
- name: "cpu-usage"
avoidanceThreshold: 2
restoreThreshold: 2
actionName: "disablescheduling"
strategy: "None"
metricRule:
name: "cpu_total_usage"
value: 4000
- name: "cpu-usage"
avoidanceThreshold: 2
restoreThreshold: 2
actionName: "disablescheduling"
strategy: "None"
metricRule:
name: "cpu_total_usage"
value: 4000
16 changes: 8 additions & 8 deletions examples/ensurance/waterline3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ spec:
nodeLocalGet:
localCacheTTLSeconds: 60
objectiveEnsurances:
- name: "cpu-usage"
avoidanceThreshold: 2
restoreThreshold: 2
actionName: "eviction"
strategy: "Preview"
metricRule:
name: "cpu_total_usage"
value: 6000
- name: "cpu-usage"
avoidanceThreshold: 2
restoreThreshold: 2
actionName: "eviction"
strategy: "Preview"
metricRule:
name: "cpu_total_usage"
value: 6000
Loading

0 comments on commit b5acd4a

Please sign in to comment.