Kubernetes : configuring custom influxdb sink for heapster running in kube-system namespace on GKE

假装没事ソ 提交于 2019-12-13 13:24:21

问题


I need to configure heapster to send kubernetes cluster metrics to our custom influx db server . For this I tried to edit heapster deployment in kube-system namespace but after some time deployment is getting reverted to original state .
I am using GKE , master version is 1.5.7 and node version is 1.5.6 .


回答1:


As for now, a custom configuration of addons is not supported on GKE. Any changes to the default Heapster configuration will be reverted by addon-manager.

If the default Heapster configuration doesn't work for you, consider turning it off. In order to do that you need to disable Cloud Monitoring and Horizontal Pod Autoscaler. Please bear in mind that without the default Heapster you won't get metrics in Stackdriver or have the ability to use HPA.

Having two Heapster instances is also fine. You can create your own instance of Heapster with the configuration you need. Here's an example deployment spec.



来源:https://stackoverflow.com/questions/45439306/kubernetes-configuring-custom-influxdb-sink-for-heapster-running-in-kube-syste

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!