-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
enhancementAdding additional functionality or improvementsAdding additional functionality or improvementspinnedPrevents stalebot from removingPrevents stalebot from removing
Description
Feature.
In production environment we want get alerts when a chart become deprecated, or when a chart is not up to date
Description
For each helm charts found on K8S cluster nova create a prometheus metrics. This metrics contains many labels.
The metrics nove_helm_uptodate_metrics
will be equal to 1 if chart deployed is not up to date.
nova_helm_uptodate_chart{chart="cert-manager", installed="v0.11.0", latest=" v0.15.0", deprecated="false"} 1
And other metrics should be a metrics on a deprecated chart:
If chart is deprecated the metrics equal 1 otherwise equal 0.
nova_helm_deprecated_charts{chart="cert-manager", installed="v0.11.0", latest=" v0.15.0", deprecated="true"} 1
And after prometheus scrap nova and get metrics and we can create this alerts:
nova_helm_uptodate_chart < 0
nova_helm_deprecated_charts < 0
alekhrycaiko, iomarcovalente and crysalisalex5517
Metadata
Metadata
Assignees
Labels
enhancementAdding additional functionality or improvementsAdding additional functionality or improvementspinnedPrevents stalebot from removingPrevents stalebot from removing