Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

干扰检测和主动回避--节点污点不能自动清除 #894

Open
kingwaycai2005 opened this issue Feb 1, 2024 · 0 comments
Open

干扰检测和主动回避--节点污点不能自动清除 #894

kingwaycai2005 opened this issue Feb 1, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@kingwaycai2005
Copy link

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恢复到水位线下,等待冷却后污点清除

Screenshots
image
image

`[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]
@kingwaycai2005 kingwaycai2005 added the kind/bug Something isn't working label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant