github.com/gocrane/crane@v0.11.0/examples/ensurance/evict-on-cpu-usage-percent/watermark.yaml (about) 1 apiVersion: ensurance.crane.io/v1alpha1 2 kind: NodeQOS 3 metadata: 4 name: eviction-on-high-cpu-usage-percent 5 spec: 6 nodeQualityProbe: 7 nodeLocalGet: 8 localCacheTTLSeconds: 60 9 timeoutSeconds: 10 10 rules: 11 - actionName: eviction 12 avoidanceThreshold: 2 13 metricRule: 14 name: cpu_total_utilization 15 value: 50 16 name: cpu-usage-percent 17 restoreThreshold: 2 18 strategy: None