Upgrade instructions¶
COS 2¶
Migrate from COS Lite 1 to COS 2¶
The main differences between COS Lite and COS from data perspective are that COS uses different charms for the logs and metrics backends. For metrics, Prometheus is replaced with distributed Mimir. For logs, monolithic Loki is replaced with distributed Loki.
Migrating data from Prometheus to Mimir or from one charm revision of Loki to another is complex and nuanced. At this point, we recommend a retention-based phase-out.
Migration via retention-based phase-out¶
Deploy COS in a separate model next to COS Lite
Relate the new COS charms to the same applications COS Lite is related to.
Wait for the retention period to elapse for COS Lite.
Verify the same data is available both in COS Lite and in COS
Decommission COS Lite.
Migrate from COS Lite 1 to COS Lite 2¶
Refresh all track 1 charms so they point to the latest revision on
1/stable.Refresh to track 2.