oracle-cne / ocne

The Oracle Cloud Native Environment CLI
Universal Permissive License v1.0
1 stars 0 forks source link

Document how to migrate Verrazzano kube-prometheus-stack (called prometheus-operator) to catalog kube-prometheus-stack #61

Closed pfmackin closed 1 week ago

pfmackin commented 2 weeks ago

The Verrazzano helm chart for kube-prometheus-stack is actually called prometheus-operator, and in fact it does include the operator. The OCNE catalog names the chart the correct name, kube-prometheus-stack. We need to figure out how to migrate and change the release name, which has a ripple affect in the deployment/service/pod names.

We need to document the steps once we determine what they are and test them.

pfmackin commented 2 weeks ago

The proposed solution is to do the following:

  1. export the Helm user provided overrides (helm get values ...) to a file
  2. modify the image section of the override file
  3. change promethues PV reclaim policy to detain
  4. detach the prometheus PV
  5. uninstall the prometheus-operator chart (which is really the kube-prometheus-stack)
  6. install kube-state-metrics from the catalog using the override file from step 2 with PVC/PV overrides to use new PV . Issue, need to determine how to do step 6. Look at the chart values and PVC settings.