-
Notifications
You must be signed in to change notification settings - Fork 27
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
[FR] check if an updated version of the image is available #31
Comments
How would you define a "new image"? Using Docker Registry API semantics. |
The only way i could see that could be achieved is probably comparing tag... I see 2 option here ....
Option1 generic regex: covered version tag format: so using something like when comparing available tag vs current tag: Patch Available when tagmajor are equal, tagminor are equal, new tagpatch is greater Option 2: would require a little more thinking ... but could be like a regex that return a number ... and if the previous returned number is lower than the current.... or regex than split tag in major minor patch format like option 1... |
Semantic Versioning libraries also exist that can do this. |
This is a nice-to-have feature, yet still, the goal of the exporter is to highlight the problematic workloads that are already running in the cluster. Predicting future versions sounds like a duty of a fancy gitops tool like argocd. Anyway, I'm good if someone wants to implement this feature under a flag. |
I propose a new check to check if a new version of the image is available.
k8s_image_availability_exporter_<TYPE>_update_available
Thoughts?
The text was updated successfully, but these errors were encountered: