---
title: "Prometheus Exporter for Kubernetes Clusters | Hostman Docs"
description: "Guide on using Prometheus Exporter to monitor Kubernetes clusters in Hostman. Learn how to access node and kube-state metrics via public or private endpoints."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

Prometheus Exporter is a component that collects metrics from a Kubernetes cluster and exposes them in a Prometheus-compatible format. It allows you to monitor cluster health, node load, and resource status.

## Accessing the Exporter

Exporter access details are available in your Hostman dashboard → **Kubernetes** → click on the cluster → **Dashboard**.

Public exporters require basic authentication to access metrics.

Example request to a public exporter:

```shell
curl -u admin:'password' -s https://k8s-exporter.hostman.dev/exporter_id/service/metrics
```

## Endpoints and Metrics

Two types of metrics are available:

-   `node_exporter` provides node-level metrics such as CPU usage, memory consumption, disk operations, and network traffic.
-   `kube_state_exporter` provides Kubernetes object metrics, including the state of pods, deployments, replicas, nodes, and other resources retrieved from the Kubernetes API.

Public endpoints:

-   Node metrics:

```shell
https://k8s-exporter.hostman.dev/exporter_id/node-exporter/metrics
```

-   Kubernetes metrics:

```shell
https://k8s-exporter.hostman.dev/exporter_id/service/metrics
```

`exporter_id` is the unique exporter identifier available in the dashboard.

## Implementation Details

Exporters are available in two modes:

-   Public, accessible over HTTPS with basic authentication
-   Private, accessible within a private network

Ports:

-   9100 for `node_exporter`
-   9308 for `kube_state_exporter`

For clusters with three master nodes, metrics must be collected from each node separately.
