Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add cost for k8s services #1045

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

shubhindia
Copy link
Contributor

Problem #1036

Currently komiser doesn't provide cost for k8s services. Its always 0. This PR fixes that. Implementation is similar to others, using opencost to generate the cost for services.

Solution

Changes Made

  • Added GetOpencostInfo for service

Screenshots

Screenshot 2023-10-06 at 12 18 45 PM

Checklist

  • Code follows the contributing guidelines
  • Changes have been thoroughly tested
  • Documentation has been updated, if necessary
  • Any dependencies have been added to the project, if necessary

Signed-off-by: shubhindia <shubhindia123@gmail.com>
Copy link
Collaborator

@mlabouardy mlabouardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shubhindia for the PR!
LGTM!

@mlabouardy mlabouardy requested a review from Azanul October 6, 2023 07:35
@Azanul Azanul merged commit 9a556a0 into tailwarden:develop Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants