curve-operator icon indicating copy to clipboard operation
curve-operator copied to clipboard

Monitor deploy as a kubernetes CR

Open caoxianfei1 opened this issue 1 year ago • 3 comments

When deploy curve cluster monitor, now we using enable as ON-OFF, and we can split it as a K8s CR to manage it.

现在集群的监控是在部署curvebs/curvefs cr的时候,在指定资源CRD的yaml文件中通过Monitor字段中的Enable设置是否部署集群监控(Prometheus, Grafana, node-exporter)。但是,这种方式不太优雅,一种更好的方法是定义CurveMonitor这个CR,在自定义CR的controller中实现部署逻辑。从而就不需要在curvebs/curvefs集群中定义Monitor字段。

caoxianfei1 avatar Jun 26 '23 07:06 caoxianfei1