Integrate OpenCost to get real-time visibility into your Kubernetes cluster costs.
OpenCost is an open-source CNCF project for monitoring Kubernetes cloud costs. Neurals integrates with OpenCost to provide unified reporting.
Install OpenCost using Helm:
helm install opencost opencost/opencost \ --namespace opencost \ --create-namespace \ --set opencost.exporter.enabled=true \ --set opencost.prometheus.external.url=http://my-prometheus.monitoring.svc:9090
To allow Neurals to access OpenCost, you need to expose the API endpoint. For internal clusters, you can use port-forwarding or an Ingress.
kubectl port-forward -n opencost service/opencost 9003:9003
Update your agent configuration to point to the OpenCost URL.
# packages/ingestion/config.yaml opencost: enabled: true url: "http://opencost.opencost.svc:9003" refresh_interval: "1h"