干扰检测和主动回避--节点污点不能自动清除
kingwaycai2005 opened this issue · comments
Describe the bug
测试
Reproduce steps
按crane官网demo视频:https://gocrane.io/zh-cn/docs/tutorials/colocation-with-enhanced-qos/qos-interference-detection-and-active-avoidance.zh/
测试节点污点不能自动清除
Expected behavior
CPU恢复到水位线下,等待冷却后污点清除
`[root@localhost ensurance]# cat disablescheduler.yaml
apiVersion: ensurance.crane.io/v1alpha1
kind: AvoidanceAction
metadata:
labels:
app: system
name: disablescheduling
spec:
description: disable schedule new pods to the node
coolDownSeconds: 60
[root@localhost ensurance]#
[root@localhost ensurance]#
[root@localhost ensurance]# cat watermark1.yaml
apiVersion: ensurance.crane.io/v1alpha1
kind: NodeQOS
metadata:
name: "watermark1"
labels:
app: "system"
spec:
nodeQualityProbe:
timeoutSeconds: 10
nodeLocalGet:
localCacheTTLSeconds: 60
rules:
- name: "cpu-usage"
avoidanceThreshold: 2 #(1)
restoreThreshold: 2 #(2)
actionName: "disablescheduling" #(3)
strategy: "None" #(4)
metricRule:
name: "cpu_total_usage" #(5)
value: 3000 #(6)
[root@localhost ensurance]# `
Environment (please complete the following information):
- K8S Version::k8s 1.23.9 \1.23.8 及按“快速开始”kind部署集群1.25均有此问题
- Crane Version: 0.11.0
- Browser [e.g. chrome, safari]