I'm working on setting up a new pulsar cluster and...
# kubernetes
c
I'm working on setting up a new pulsar cluster and I'm confused about victoria metrics and the overlap with Prometheus. I'm setting up a new k8s cluster and had first installed prometheus/grafana using
kube-prometheus-stack
Helm chart into the default node-group. Then I created a pulsar node-group and installed pulsar using the latest 4.2.0 helm chart, using the default settings. Everything came up, except for new pulsar-prometheus-node-exporter-xxxx pods that the pulsar-prometheus-node-exporter is trying to create. There are already prometheus-node-exporter pods because of the prometheus-stack-prometheus-node-exporter daemonset running in the monitoring namespace. Should I not be using kube-prometheus-stack now since it is superseded by victoria-metrics and all the stuff in there? I mean, if I don't install kube-prometheus-stack first, what would I do to get grafana and alerts, etc? (I do really like victoria-logging -- seems a big improvement over loki for my usage)
l
There's some upgrade instructions in README: https://github.com/apache/pulsar-helm-chart/blob/master/README.md#kube-prometheus-stack-replaced-with-victoria-metrics-k8s-stack There's no live migration, it's about removing kube-prometheus-stack and then you'd need to configure victoria-metrics-k8s-stack to meet your requirements. Another option would be to somehow disconnect the kube-prometheus-stack from the Pulsar Helm Chart and keep on using that, but I haven't checked how that could be accomplished. reasons to switch to victoria-metrics is described in https://github.com/apache/pulsar-helm-chart/pull/592
Should I not be using kube-prometheus-stack now since it is superseded by victoria-metrics and all the stuff in there? I mean, if I don't install kube-prometheus-stack first, what would I do to get grafana and alerts, etc? (I do really like victoria-logging -- seems a big improvement over loki for my usage)
exactly. victoria-metrics-k8s-stack contains Grafana and AlertManager so those options would remain the same.
c
Thank you! I'm setting up a brand new cluster, so I don't need an upgrade path, I just want to figure out an optimal set up.