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

Monitor deploy as a kubernetes CR

Open caoxianfei1 opened this issue 2 years ago • 3 comments
trafficstars

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

I would like to try this issue.

peaceLT avatar Aug 07 '23 03:08 peaceLT

@peaceLT The issue has assign to others, you can choose another~

caoxianfei1 avatar Aug 07 '23 10:08 caoxianfei1

/assign

mikechengwei avatar Aug 10 '23 11:08 mikechengwei