通过heapster在kubernetes中自动缩放Pod

时间:2019-03-17 09:41:09

标签: kubernetes autoscaling heapster

我想在 kubernetes 中自动缩放广告连播。经过研究后,我了解到应该使用 heapster 进行监控。您可以建议什么测试文件。 我该如何测试? 我知道我应该使用一些压力测试,但是是否有人对此进行了记录? 谢谢

1 个答案:

答案 0 :(得分:1)

堆是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.