Object etcd migration #26
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Introduce a command in poctl to assist Prometheus Operator users in migrating objects managed by the operator (e.g., Prometheus, Alertmanager, PrometheusRules) between versions at the etcd level.
Background:
When a Custom Resource Definition (CRD) supports multiple API versions, it defines a storage version that is used to persist objects in etcd. During an upgrade, such as moving from v1alpha1 to v1beta1, all objects need to be updated to the new storage version to ensure they are stored correctly in etcd.
Problem:
Currently, users must manually update each object to transition them to the new storage version. This process is necessary before removing the old API version from the CRD.
Proposed Solution:
Implement a poctl command that automates this migration process. The command would systematically update all relevant objects to the new storage version, streamlining the upgrade process and reducing the risk of errors.
The text was updated successfully, but these errors were encountered: