我想在kubernetes中自动缩放我的pod。经过一些研究,我明白我应该使用heapster进行监控。您可以建议的测试文件。我怎么测试呢?我知道我应该使用一些压力测试,但有没有人有关于它的文件?谢谢
Heaps是EOL。 https://github.com/kubernetes-retired/heapster
退休:Heapster现已退休。有关支持的更多信息,请参阅弃用时间表。我们不会对Heapster进行更改。
以下是Heapster功能的潜在迁移路径:
For basic CPU/memory HPA metrics: Use metrics-server.
For general monitoring: Consider a third-party monitoring pipeline that can gather Prometheus-formatted metrics. The kubelet exposes all the metrics exported by Heapster in Prometheus format. One such monitoring pipeline can be set up using the Prometheus Operator, which deploys Prometheus itself for this purpose.
For event transfer: Several third-party tools exist to transfer/archive Kubernetes events, depending on your sink. heptiolabs/eventrouter has been suggested as a general alternative.