# Monitoring with Prometheus on k8s cluster

**URL:** <https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873>\
**Category:** Connectors and Pipelines\
**Created:** [June 10, 2023, 5:49pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873 "2023-06-10T17:49:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrei.kirilenkov](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@andrei.kirilenkov](https://www.singlestore.com/forum/u/andrei.kirilenkov)\
**Post date:** [June 10, 2023, 5:49pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873/1 "2023-06-10T17:49:45Z")

</div>

Hello,

I’ve installed Singlestore on kind k8s cluster.

kubectl get pods -o wide  
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES  
node-sdb-cluster-leaf-ag1-0 1/1 Running 0 29h 10.244.0.12 kind-control-plane   
node-sdb-cluster-master-0 2/2 Running 0 29h 10.244.0.11 kind-control-plane   
sdb-operator-d788854d8-87xl2 1/1 Running 0 2d1h 10.244.0.6 kind-control-plane

How can I set up monitoring with Prometheus?

With this kubectl exec -it node-sdb-cluster-master-0 – bash I’m on the master node. But I can’t install anything there bcs there is neither root password nor sudo … There is no Toolbox either…

Wd be grateful for any hints, clarifications on how to monitor the k8s installation.

Thank you!

---

<div class="post-metadata">

**Author:** ![tdasarathan](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/t/d6d6ee/32.png) [@tdasarathan](https://www.singlestore.com/forum/u/tdasarathan)\
**Post date:** [June 14, 2023, 6:10pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873/2 "2023-06-14T18:10:37Z")

</div>

@andrei.kirilenkov - Did you happen to review the steps to set up monitoring, in this doc - [Monitor Your Kubernetes Cluster · SingleStore Documentation](https://docs.singlestore.com/db/v8.1/en/reference/singlestoredb-operator-reference/monitor-your-kubernetes-cluster.html) ? If you have already reviewed and yet have difficulty to configure monitoring, please share the errors you got at the respective steps, so we will be able to help

---

<div class="post-metadata">

**Author:** ![andrei.kirilenkov](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@andrei.kirilenkov](https://www.singlestore.com/forum/u/andrei.kirilenkov)\
**Post date:** [June 15, 2023, 5:35pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873/3 "2023-06-15T17:35:22Z")

</div>

Hello,  
thanks for the reply.

I’ll open a separate thread about monitoring acc to the documentation.

In this thread, plz, clarify if Singlestore in kind k8s can be monitored with separately installed Prometheus?

---

<div class="post-metadata">

**Author:** ![tdasarathan](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/t/d6d6ee/32.png) [@tdasarathan](https://www.singlestore.com/forum/u/tdasarathan)\
**Post date:** [June 16, 2023, 3:46pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873/4 "2023-06-16T15:46:41Z")

</div>

@andrei.kirilenkov - It should be possible to use Prometheus. To setup monitoring using prometheus high level steps would include:

- Install Prometheus on Kubernetes cluster separately from S2
- Follow the steps from our [monitoring guide](https://docs.singlestore.com/db/v8.1/en/reference/singlestoredb-operator-reference/monitor-your-kubernetes-cluster.html) to set up monitoring exporter, which will expose the metrics in Prom format.
- Specify in Prometheus configs to consume metrics from the exposed exporter

While you could use Prometheus, we recommend using Singlestore, as we are a real time analytics DB which is super awesome for this use case and you additionally get out of the box monitoring dashboards to observe your SinglestoreDB

---

<div class="post-metadata">

**Author:** ![andrei.kirilenkov](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@andrei.kirilenkov](https://www.singlestore.com/forum/u/andrei.kirilenkov)\
**Post date:** [June 19, 2023, 6:10pm UTC](https://www.singlestore.com/forum/t/monitoring-with-prometheus-on-k8s-cluster/6873/5 "2023-06-19T18:10:42Z")

</div>

Thanks a lot!

I have to set up Prometheus monitoring to support the customers who for some reasons are using it.
