Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OpenCost metrics interfere with OpenShift's CPU count for the cluster #252

Closed
kastl-ars opened this issue Jan 29, 2025 · 2 comments
Closed

Comments

@kastl-ars
Copy link
Contributor

Similar to #249 , the metrics exported by OpenCost interfere with OpenShift's CPU count.

One one of our clusters, the CPU count visible in OpenShift's "Overview" in the "Dashboard" went from 88 CPUs available to 44 CPUs available, which is the real number, after setting EMIT_KSM_V1_METRICS to false

  opencost:
    metrics:
      serviceMonitor:
        enabled: true
      kubeStateMetrics:
        emitKsmV1Metrics: false
[...]

Not sure if this is an issue for the opencost repository rather than for the helm chart one, as I have not gotten OpenCost to work without those v1 metrics. It simply does not show any costs at all.

@kastl-ars
Copy link
Contributor Author

Any news on this?

@mittal-ishaan
Copy link
Contributor

Closing this issue in favour of #249 as they are very similar and related

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants