You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello WEKA,
I'm using this weka/export to make container and deploying into Kubernetes.
But this pod continuously terminated without an error (I can't see any error logs in the pod) and this was terminated with exitCode: 1.
Here's the manifest of Pod and configuration, logs.
Could you please check why this pod is continuously terminated?
Logs (These below logs are repeated. I disabled syslog)
gathering
gathering weka data from cluster test1
starting 100 threads
Cluster test1 Using 6 hosts
populating datastructures for cluster test1
Gather complete: cluster=test1, total elapsed=10.33
stats returned. total time = 10.43s 69 api calls made. Wed May 22 04:24:57 2024
The text was updated successfully, but these errors were encountered:
Are you actively querying the endpoint with Prometheus at this point? What config do you use there?
There appears to be an issue where If you access the endpoint, then cancel the request and make any other request before the results of that request are returned, this causes the container to crash. From your logs, this currently takes over 10s, so the Prometheus default might be a contributor. If you have any liveness probe or scrape timing out in less than that time, this could be why.
I work around this (temporarily) by elongating the scrape timeout in Prometheus to ensure it doesn't scrape the container too often, even if it takes ages to return data. I've also made sure there are no direct user-facing access paths(like ingresses) to the service, so only Prometheus can get to it and other users can't accidentally cause this issue either.
You can easily test this by loading it up in a browser, if you cancel the page load, then wait, it's OK. If you make any other request, the container will crash when it attempts to return the originally requested data.
Hello WEKA,
I'm using this
weka/export
to make container and deploying into Kubernetes.But this pod continuously terminated without an error (I can't see any error logs in the pod) and this was terminated with
exitCode: 1
.Here's the manifest of Pod and configuration, logs.
Could you please check why this pod is continuously terminated?
weka-exporter-config
- I have 6 WEKA backend servers.The text was updated successfully, but these errors were encountered: