jetstack / version-checker

Kubernetes utility for exposing image versions in use, compared to latest available upstream, as metrics.
https://jetstack.io
Apache License 2.0
704 stars 79 forks source link

Inconsistent values for daemonset #68

Open Flasheh opened 3 years ago

Flasheh commented 3 years ago

Hey

I've been trying out this tool for a bit and found a few issues. Most of them have to do with the regex matching but this one I can't figure out.

For some reason there is one fluent-bit pod in the daemonset that gives a false value while being identical to the others. This behavior is replicated on another cluster (which is set up identical to this one).

I'm running: version-checker: Container ID: docker://581de433d72c6199d5194af1eb3c5fb8deff331acb932567ab92368afb4ae64c Image: quay.io/jetstack/version-checker:v0.2.1 Image ID: docker-pullable://quay.io/jetstack/version-checker@sha256:5f6f8ba0b671db2382f811b58fad64a2fd22ca1caaf087f9708c8e4b8309d7e0

Metrics:

version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-59hw7"} 1
version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-7btfd"} 1
version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-7fh2r"} 1
version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-cpv5p"} 1
version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-j5lh8"} 0
version_checker_is_latest_version{container="fluent-bit",current_version="1.6.8@sha256:49e3fbd3e3a76b8e7088d618dab637d35d711a656d4f2a5e72244d66e88bd3e7",image="docker.io/fluent/fluent-bit",latest_version="1.6.8@sha256:de6a3f63d0723430cc0bc042b15b27cab8a4f8aeb9219aa1c13445650b1a49e9",namespace="logging",pod="fluent-bit-rhrxf"} 1
github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had any activity in the last 90 days. It will be closed if no further activity occurs. Thank you for your contributions.