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

Get node label from k8s service discovery #2893

Closed
wants to merge 1 commit into from

Conversation

deepy
Copy link

@deepy deepy commented Dec 28, 2023

What does this PR change?

This is a companion to opencost/opencost#2423

Does this PR rely on any other PRs?

Without the changes from opencost/2423 this will break queries in kubecost.

How does this PR impact users? (This is the kind of thing that goes in release notes!)

If you've setup your own relabel_configs you need to add the following configuration manually:

          - action: labelmap
            regex: __meta_kubernetes_node_name
            replacement: node

Links to Issues or tickets this PR addresses or fixes

What risks are associated with merging this PR? What is required to fully test this PR?

Without the changes from the linked PR some queries will stop working, this should happen immediately and get caught by tests

How was this PR tested?

Have you made an update to documentation? If so, please provide the corresponding PR.

This is a companion to opencost/opencost#2423

Without the changes from opencost/2423 this _will_ break queries in
kubecost.

Signed-off-by: Alex Nordlund <[email protected]>
@chipzoller
Copy link
Collaborator

Conflicts to resolve here.

@chipzoller
Copy link
Collaborator

Conflicts

@chipzoller
Copy link
Collaborator

No response, closing.

@chipzoller chipzoller closed this Mar 8, 2024
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.

None yet

2 participants