-
Notifications
You must be signed in to change notification settings - Fork 106
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
Startup in k8s results in error unless extra config applied #38
Comments
Hi, could you please paste the output running the image passing The official docker image does pass Line 33 in 1f2d38e
but perhaps something is not working correctly. |
same issue。 |
Can you provide the exact docker command line you're using? If I run a
|
So, the exact command definition is But since I do not have direct access to the cluster nodes themselves, I cannot provide a EDIT: sorry, will paste with debug output later on |
Running like this:
|
I'll add a note to the readme. This is not really a bug of the app, though. I suspect that the reason it tries to bind Explicitly passing |
Thanks, note in the readme totally is fine :). Interesting though that I "worked around" the defined entrypoint as I was using the docker image you provided. That was not really my intention and I expected the k8s "command" to not do that 🤷♀️ |
Hi, In K8s i'm facing below issue after running the pod kubectl logs queryexporter-pod |
@lenalebt have you able to solve your issue, if yes what argument you have passed in pod definition file |
Could you provide the command line that gets passed to the docker image? |
Hi, apiVersion: v1 spec:
volumes: |
You currently have to pass the config file name to the command line. I plan to change that in the next release to just always use the |
you mean to say need to add this in pod definition file |
I'm not sure of the exact syntax, but yes, you have to pass the path of the config file as argument. |
Describe the bug
I am playing around with the software in a kubernetes environment. Doing so, I stumbled upon a problem of the used asyncio-library: aio-libs/aiohttp#4554
This is the stack trace I am seeing:
It seems to try to bind to an IPv6 address, although this may not be available in the environment.
I do have a workaround: start the application using the parameters
-H 0.0.0.0
to force it to using IPv4. I found the possibility by having a look at the documentation of the underlying https://github.com/albertodonato/prometheus-aioexporter.While I do think that this issue is not directly related to this project, I wanted to raise this bug (even if it is rejected) to document this workaround for others that may run into this issue.
Installation details
The text was updated successfully, but these errors were encountered: