goodrain/rainbond

5.17.2自动伸缩按内存使用率配置,伸缩失败

yszansx opened this issue · 1 comments

Describe the bug
初始安装版本5.17.0 升级到5.17.2最新版本,解决了资源监控不显示的问题。但是自动伸缩还是有问题。
k8s 测试过1.26.6 、阿里云1.28.3-aliyun.1 、1.28.5 都不能实现自动(内存使用率)伸缩。 设置固定内存大小可以实现自动伸缩。

[root@K8S~]# kubectl get --raw /apis/metrics.k8s.io/v1beta1
{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"metrics.k8s.io/v1beta1","resources":[{"name":"nodes","singularName":"","namespaced":false,"kind":"NodeMetrics","verbs":["get","list"]},{"name":"pods","singularName":"","namespaced":true,"kind":"PodMetrics","verbs":["get","list"]}]}
[root@K8S~]# kubectl get po -A | grep metrics-server
kube-system metrics-server-9999f549d-92mr8 1/1 Running 0 93d

Screenshots

image

The relevant information:

  • Rainbond Version 5.17.2
  • Kubernetes version 1.26.6 and 1.28.3-aliyun.1 and 1.28.5

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: 5.17.2 Automatic scaling is configured according to memory usage, scaling fails