Comments (3)
Hi @zzhao2010,
prometheus:
enabled: true
prometheusSpec:
...
Which chart is configured with these values? k6-operator's chart cannot be configured in this way. This looks like an issue with your setup rather than with k6-operator.
Given the error, one thing that is worth checking is the URL for Prometheus:
value: "http://prometheus-kube-prometheus-prometheus:9090/api/v1/write"
This assumes that Prometheus is in default namespace: context timeout suggests that k6 runners cannot reach it with this URL - it may be incorrect or incomplete. I'd double-check that part. But overall, it seems like an issue with setup rather than a bug here.
from k6-operator.
@yorugac
Turned out the issue was with the url. Because the prometheus pod and k6 pod are hosted on different namespace, the endpoint needs to include the namespace like http://prometheus-kube-prometheus-prometheus..svc.cluster.local:9090/api/v1/write..
Another question regarding the prometheus.enabled
value in the doc in k6-operator chart, what does it do? The description didn't explain it clear. Does it have to be enabled for metrics reporting to Prometheus correctly?
from k6-operator.
prometheus.enabled
is for creating ServiceMonitor
: that option is meant for users of Prometheus Operator.
Glad you resolved it. I'm closing this issue as it is not a bug of k6-operator. As future reference, it is recommended to raise inquiries regarding k6-operator in community forum.
from k6-operator.
Related Issues (20)
- Documentation about CR HOT 4
- Expose `options.cloud` in TestRun CRD spec and have it take precedence HOT 2
- In crd the applicationName is Test T&T and the test does not executes HOT 1
- custom images built using xk6 don't run if you start TestRun in custom namespace
- Drop cloud output v1 support
- Add instructions for how to update the operator on releases
- Initializer fails on --execution-requirements HOT 2
- Helm Chart Install with hashicorp/helm_release provider can't find k6-operator chart HOT 2
- PrivateLoadZone resources should be immutable in CRD HOT 2
- Cannot run k6-operator "exec /manager: exec format error" HOT 7
- help .. aggregated output way HOT 2
- Investigate if buildx version can be removed
- Preserve background process from initContainers to runner HOT 5
- PrivateLoadZone: make resources more flexible
- Introduce ttlSecondsAfterFinished to TestRun HOT 1
- Refactor `TestRun` controller
- Created resources not cleaned up when TestRun is deleted HOT 1
- Helm: add configuring securityContext for the operator deployment HOT 1
- Extend support for browser tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k6-operator.