Skip to Content
Hacktoberfest 2025 is here! Join us to learn, share, and contribute to our community🎉

Observability in KubeStellar

KubeStellar provides endpoints and integrations for observability and monitoring. This page describes the available observability features, how to access them, and how to use them in a typical deployment.

Metrics Endpoints

KubeStellar controllers expose Prometheus-compatible metrics endpoints. These endpoints respond to HTTP requests for metrics and can be queried by any monitoring system; KubeStellar does not mandate how metrics are collected or scraped. For an example of collecting both metrics and debug endpoint data using Prometheus, see the monitoring  directory. This is just possible approach; KubeStellar does not require or mandate any specific monitoring tool or method.

Metrics Endpoint Table

ControllerProtocolPortPathAuthN/AuthZNotes
kubestellar-controller-managerHTTPS8443/metricsKubernetes client authentication required (Service or Pod)Service: kubestellar-controller-manager-metrics-service.
kubestellar-controller-managerHTTP8080/metricsNone (debug; not recommended for production)Debug endpoint; typically disabled in production.
ks-transport-controllerHTTP8090/metricsNone (in-cluster)Port configurable via Helm values.
status-addon-controllerHTTP9280/metricsNone (in-cluster)
status-addon-agentHTTP8080/metricsNone (in-cluster)Port configurable via Helm values.

Note: The listed ports are defaults. the ks-transport-controller and status-addon-agent metrics ports are configurable via Helm values (see issue #2158 ).

Debug/Profiling Endpoints

Some KubeStellar components expose Go’s built-in pprof debug endpoints for profiling and troubleshooting.

pprof Endpoint Table

ControllerProtocolPortPathAuthN/AuthZNotes
kubestellar-controller-managerHTTP8082/debug/pprof/None
ks-transport-controllerHTTP8092/debug/pprof/NonePort configurable via Helm values.
status-addon-controllerHTTP9282/debug/pprof/None
status-addon-agentHTTP8082/debug/pprof/NonePort configurable via Helm values.

Note: The listed ports are defaults. the ks-transport-controller and status-addon-agent pprof ports are configurable via Helm values.

Example: Accessing KubeStellar Controller Metrics and Debug Endpoints

Note: The following example assumes you have a running KubeStellar controller-manager pod and access to the appropriate Kubernetes context and namespace. The Deployment name is always kubestellar-controller-manager, but you may need to adjust the context and namespace for your environment.

kubectl --context kind-kubeflex port-forward -n wds1-system deployment/kubestellar-controller-manager 8443:8443 8082:8082

Access metrics: https://localhost:8443/metrics  (Kubernetes client authentication required)

Access pprof: http://localhost:8082/debug/pprof/ 

Grafana Dashboards

  • Example Grafana dashboards and configuration can be found in monitoring/grafana/.
  • After deploying Prometheus and Grafana (or your preferred stack), you can import dashboards to visualize KubeStellar metrics.

Additional Resources


If you have suggestions for more observability features or documentation, please open an issue .