Skip to content
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

Object etcd migration #26

Open
nicolastakashi opened this issue Aug 22, 2024 · 0 comments
Open

Object etcd migration #26

nicolastakashi opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nicolastakashi
Copy link
Collaborator

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.

@nicolastakashi nicolastakashi added enhancement New feature or request good first issue Good for newcomers labels Aug 22, 2024
@nicolastakashi nicolastakashi added the help wanted Extra attention is needed label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant