jetstack / jetstack/version-checker

[FEATURE] Support EOL Metrics

Aperta
#371 0 commenti 0 reazioni 1 assegnatario Rivendicata da @maria-reynoso Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
778
Fork
82
Merge medio
2m
PR unite (30g)
3

Descrizione

**Is your feature request related to a problem? Please describe.**
Whilst we expose metrics for the latest container images, engineers may need or what to know if and when the version of deployed components are becoming End of Life

**Describe the solution you'd like**
By utilising the data/api available via https://endoflife.date/docs/api - we would expose multiple metrics to allow engineering teams to discover if/when their product/tool is becoming unsupported.

Suggestive metrics would be:
`version_checker_is_endoflife` as a binary (1 = Yes, 0=No)
`version_checker_endoflife_timestamp` as timestamp of when this component will be out of support

As End of Life product names and container image names may not match, and may not use tags (Digest's or Internal generated tags) We may need to allow for overriding of these via new pod annotations, some suggestions may be as follows:

```
eol-product.version-checker.io/dind=docker-engine # the End of Life Product name
eol-cycle.version-checker/dind=28.1 # Stating which Major/Minor release - however this may be a "stable", "rapid",
```

**Describe alternatives you've considered**
The EndofLife Project provide the static computed data in json format disocverable here, it may be that we look to embed this into version-checker: E.G: https://github.com/endoflife-date/release-data/blob/0984617d58755a26f68adabf6f6ad3755a6b2315/releases/angular.json

**Additional context**

---

**Message from the maintainers**:

If you wish to see this enhancement implemented, please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritise.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.