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

Unable to Run k6 Tests on Private Probe for Local Kubernetes Cluster #730

Closed
SeamusGrafana opened this issue Jun 18, 2024 · 2 comments
Closed

Comments

@SeamusGrafana
Copy link

I have a Private SM Agent deployed on a private Kubernetes Cluster (either in GCP or with k3d), and I am trying to create a Synthetic Monitoring Check that uses that Private Probe (only) to run checks against applications in that Cluster.

However, the checks fails, due to restrictions, e.g.;

error	
Get "http://opentelemetry-demo-frontendproxy.mythical.svc.cluster.local:8080/api/products": hostname (opentelemetry-demo-frontendproxy.mythical.svc.cluster.local) is in a blocked pattern (*.cluster.local)

However, I have configured the --blocked-nets="" so this should allow any checks on any network.

If I remove the .cluster.local it then fails with;

Get "http://opentelemetry-demo-frontendproxy.mythical.svc:8080/api/products": IP (10.44.5.128) is in a blacklisted range (10.0.0.0/8)

This seems to happen for either of the MultiHTTP Checks or the Scripted Checks.

I am using the latest Tag for the SM Agent, and pulled it before running these tests.

@nadiamoe
Copy link
Member

I've confirmed this. There are a couple things causing this, one is a bug that #731 will solve, and the other is that, for multihttp in particular, this denylist is not configurable:

I've played a bit with how making this customizable for multihttp, but that requires a bit more of work and I think should be prioritized.

@nadiamoe
Copy link
Member

This should be mostly solved in v0.24.3, except for the caveat mentioned in #735

Closing this one in favor of 735.

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

No branches or pull requests

2 participants