Skip to content

Commit

Permalink
feat(helm): update kube-prometheus-stack to 47.2.0 (#964)
Browse files Browse the repository at this point in the history
* update kube-prometheus-stack to 47.2.0
  • Loading branch information
lippertmarkus authored Jul 26, 2023
1 parent e949ed6 commit 55151ad
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions docs/setup-robusta/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ What type of upgrade do I need?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You need a :ref:`Manual Upgrade` when both:

* Robusta's old version is lower than 0.10.8 (run ``helm list`` to check)
* Robusta's old version is lower than 0.10.17 (run ``helm list`` to check)
* The embedded Prometheus is enabled (``enablePrometheusStack: true``)

In all other cases, do a :ref:`Simple Upgrade`.
Expand Down Expand Up @@ -53,7 +53,7 @@ Why are manual upgrades necessary?
Robusta bundles kube-prometheus-stack, which uses `CRDs <https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/>`_.
Helm can't update CRDs, so we update them ourselves. See the `Helm Documentation on CRDs <https://helm.sh/docs/chart_best_practices/custom_resource_definitions/>`_ for details.

Upgrading from older versions (0.10.8 and below)
Upgrading from older versions (0.10.17 and below)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. The node-exporter daemonset and admission webhooks needs to be manually removed prior to upgrading:
Expand All @@ -70,14 +70,14 @@ Upgrading from older versions (0.10.8 and below)

.. code-block:: bash
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl replace -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.66.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
3. Update Robusta with Helm. If you've lost ``generated_values.yaml``, you can :ref:`extract it from the cluster.<where-is-generated-values>`

Expand Down
6 changes: 3 additions & 3 deletions helm/robusta/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: 43.2.1
digest: sha256:77e49fe26a57dfee92f546052e2cdb716f2df48e5c46a279f7105b45c1fb946b
generated: "2023-01-01T19:29:21.745248+02:00"
version: 47.2.0
digest: sha256:4d9c23a8f59632bb8673875ccdf927045058183d647183e26c4c3b6a05732214
generated: "2023-07-03T17:40:32.694323+02:00"
2 changes: 1 addition & 1 deletion helm/robusta/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ appVersion: 0.0.0

dependencies:
- name: kube-prometheus-stack
version: 43.2.1
version: 47.2.0
condition: enablePrometheusStack
repository: "https://prometheus-community.github.io/helm-charts"
Binary file not shown.
Binary file not shown.

0 comments on commit 55151ad

Please sign in to comment.