-
Notifications
You must be signed in to change notification settings - Fork 35
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
Differences in binaries and docker execution #66
Comments
@EdelenP Thanks for reporting 👏 The container version in docker hub is behind one version Are you seeing your certificates AND the additional ones under |
@amimof
which generates metrics:
But docker version of node-cert-exporter:v1.1.2 for arguments:
Why? I want to monitor only apiserver.crt. With standalone --path argument, it works goods but scans whole directory.
Ps. Why it does not work in docker (missing =):
but works well for binary execution. |
Ok, I see the same problem is with binary if I run from /. It scans whole filesystem:
The --path and --include-glob options can work together:
|
Also this works for cmd:
but does not work for k8s. I don't have idea how to monitor only apiserver.crt. I also tried with modified Dockerfile with another WORKDIR. |
I'm facing a trouble while i'm executing node-cert-exporter in binary version, following the instructions in the documentation. If I run the docker version I can see in the Grafana dashboard the same that's shown in the documentation's image, but I don't want to run node-cert-exporter in docker version, but binary version. And when I do that I see a bunch of certificates, which are out of the path that I passed with --include-glob parameter.
What I execute:
node-cert-exporter --include-glob /etc/letsencrypt/live/*/*.pem
👆 that directory contains a dir (my_site) and inside it three .pem files (file1.pem, file2.pem, file3.pem)
what I want to see: (something similar with my certificates, which i can see with docker version)
what I actually see
Additional information:
Output of
node-cert-exporter --version
:Additional environment details:
OS: Ubuntu 20.04
The text was updated successfully, but these errors were encountered: