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 kube-proxy to the list of ignored targets #1379

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

QuentinBisson
Copy link
Contributor

@QuentinBisson QuentinBisson commented Sep 21, 2023

Towards monitoring of EKS clusters, we noticed that the imported EKS cluster (on snail) has kube-proxy running and we would prefer to move all EKS scraping to use ServiceMonitors instead of going through the api server proxy (related to giantswarm/roadmap#2832)

We figured with @TheoBrigitte that it is safer to have a ServiceMonitor that is not always needed than to have it being scraped from outside the cluster.

Hence this PR in relation with giantswarm/observability-bundle#113 will move the scraping of a possible kube-proxy to be done by the agent instead of externally to the cluster.

This PR is also in close relation with giantswarm/roadmap#2670

⚠️ Do not merge until giantswarm/observability-bundle#113 is released in 0.8.3

Checklist

I have:

  • Described why this change is being introduced
  • Separated out refactoring/reformatting in a dedicated PR
  • Updated changelog in CHANGELOG.md

@QuentinBisson QuentinBisson self-assigned this Sep 21, 2023
@QuentinBisson QuentinBisson marked this pull request as ready for review September 21, 2023 13:02
@QuentinBisson QuentinBisson requested a review from a team as a code owner September 21, 2023 13:02
@@ -296,6 +297,10 @@ func listTargetsToIgnore(ctx context.Context, ctrlClient client.Client, cluster
if err != nil {
return nil, microerror.Mask(err)
}
bundleWithKubeProxyExporterVersion, err := semver.Parse("0.8.3")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that this will be released once giantswarm/observability-bundle#113 is merged

Copy link
Contributor

@marieroque marieroque left a comment

Choose a reason for hiding this comment

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

👍🏽

@QuentinBisson QuentinBisson merged commit 76c1412 into master Sep 21, 2023
2 checks passed
@QuentinBisson QuentinBisson deleted the ignore-kube-proxy-on-eks-and-latest-bundles branch September 21, 2023 13:08
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.

2 participants