Migrate OPS container registry to database setup
During incident 2023-10-24: Image pulling from ops registry fai... (production#17020 - closed), a considerable amount of container images were deleted in ops
.
This was due to configuration and environment diff across ops
and gstg
/gprd
, that led to assumptions around bucket structure layout.
The main differentiator is that gprd
uses the new registry database, while ops
still uses a GCS bucket as the primary source of metadata.
In GitLab v17, the self-contained bucket method will be deprecated, we can (and should) migrate the registry to the new database solution.
To align with other environments and be prepared for a deprecation:
-
Upgrade the container registry to use a database for metadata
Instructions and approaches for migration can be found at:
Edited by Pierre Guinoiseau