-
Notifications
You must be signed in to change notification settings - Fork 527
Closed
Labels
area/monitoringMonitoring (including availability monitoring and alerting) relatedMonitoring (including availability monitoring and alerting) relatedkind/enhancementEnhancement, improvement, extensionEnhancement, improvement, extensionlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
How to categorize this issue?
/area monitoring
/kind enhancement
What would you like to be added:
Requires #6318 as a prerequisite
Goal: Replace the Prometheus in each control plane with a Prometheus object from the prometheus-operator.
- Replace Prometheus artifacts from the
seed-monitoring
charts with a component. - Add temporary migration code for the Persistent volume. This ensures that no data is lost.
- Find the "old"
pvc
and itspv
and setpersistentVolumeReclaimPolicy=Retain
. - Delete the "old"
pvc
. - Create a Prometheus Object with a
volumeClaimTemplate
that references thepv
withvolumeName=<existing-pv>
- Migrate the data using an init container
- Remove the migration code after 1-2 releases
- Find the "old"
- Add all existing prometheus configuration to an
additionalScrapeConfig
. This will allow us to switch to the prometheus-operator without creatingPodMonitors
andServiceMonitors
for each component and instead do that migration step by step. - Add all extension prometheus configuration to the same
additionalScrapeConfig
. This will allow extensions time to migrate as well. - Existing rules should be replaced with
PrometheusRules
.
Once all of these steps are completed, most of the configuration in the additionalScrapeConfig
can be migrated to PodMonitors
and ServiceMonitors
.
elenz97
Metadata
Metadata
Assignees
Labels
area/monitoringMonitoring (including availability monitoring and alerting) relatedMonitoring (including availability monitoring and alerting) relatedkind/enhancementEnhancement, improvement, extensionEnhancement, improvement, extensionlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.