mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-29 06:29:34 +00:00
Say that RKE template users will need to disable Monitoring V1 to upgrade monitoring
This commit is contained in:
@@ -144,9 +144,6 @@ For information on configuring access to monitoring, see [this page.](./rbac)
|
|||||||
|
|
||||||
For more information about upgrading the Monitoring app in Rancher 2.5, please refer to the [migration docs](./migrating).
|
For more information about upgrading the Monitoring app in Rancher 2.5, please refer to the [migration docs](./migrating).
|
||||||
|
|
||||||
If you previously enabled Monitoring, Alerting, or Notifiers in Rancher before v2.5, there is no upgrade path for switching to the new monitoring/ alerting solution. You will need to disable monitoring/ alerting/notifiers in Cluster Manager before deploying the new monitoring solution via Cluster Explorer.
|
|
||||||
|
|
||||||
|
|
||||||
# Known Issues
|
# Known Issues
|
||||||
|
|
||||||
There is a [known issue](https://github.com/rancher/rancher/issues/28787#issuecomment-693611821) that K3s clusters require more default memory. If you are enabling monitoring on a K3s cluster, we recommend to setting `prometheus.prometheusSpec.resources.memory.limit` to 2500 Mi and `prometheus.prometheusSpec.resources.memory.request` to 1750 Mi.
|
There is a [known issue](https://github.com/rancher/rancher/issues/28787#issuecomment-693611821) that K3s clusters require more default memory. If you are enabling monitoring on a K3s cluster, we recommend to setting `prometheus.prometheusSpec.resources.memory.limit` to 2500 Mi and `prometheus.prometheusSpec.resources.memory.request` to 1750 Mi.
|
||||||
|
|||||||
@@ -33,22 +33,22 @@ Project owners and members no longer get access to Grafana or Prometheus by defa
|
|||||||
|
|
||||||
For more information about role-based access control in `rancher-monitoring`, refer to [this page.](../rbac)
|
For more information about role-based access control in `rancher-monitoring`, refer to [this page.](../rbac)
|
||||||
|
|
||||||
### Migrating from Monitoring V1 to Monitoring V2
|
# Migrating from Monitoring V1 to Monitoring V2
|
||||||
|
|
||||||
While there is no automatic migration available, it is possible to manually migrate custom Grafana dashboards and alerts that were created in Monitoring V1 to Monitoring V2.
|
While there is no automatic migration available, it is possible to manually migrate custom Grafana dashboards and alerts that were created in Monitoring V1 to Monitoring V2.
|
||||||
|
|
||||||
Before you can install Monitoring V2, Monitoring V1 needs to be uninstalled completely. In order to uninstall Monitoring V1:
|
Before you can install Monitoring V2, Monitoring V1 needs to be uninstalled completely. In order to uninstall Monitoring V1:
|
||||||
|
|
||||||
* Remove all cluster and project specific alerts and alerts groups
|
* Remove all cluster and project specific alerts and alerts groups.
|
||||||
* Remove all notifiers
|
* Remove all notifiers.
|
||||||
* Disable all project monitoring installations under Cluster -> Project -> Tools -> Monitoring
|
* Disable all project monitoring installations under Cluster -> Project -> Tools -> Monitoring.
|
||||||
* Ensure that all project-monitoring apps in all projects have been removed and are not recreated after a few minutes
|
* Ensure that all project-monitoring apps in all projects have been removed and are not recreated after a few minutes
|
||||||
* Disable the cluster monitoring installation under Cluster -> Tools -> Monitoring
|
* Disable the cluster monitoring installation under Cluster -> Tools -> Monitoring.
|
||||||
* Ensure that the cluster-monitoring app and the monitoring-operator app in the System project have been removed and are not recreated after a few minutes
|
* Ensure that the cluster-monitoring app and the monitoring-operator app in the System project have been removed and are not recreated after a few minutes.
|
||||||
|
|
||||||
#### RKE Template Clusters
|
#### RKE Template Clusters
|
||||||
|
|
||||||
To prevent v1 monitoring from being re-enabled, disable monitoring and in future RKE template revisions via modification of the RKE template yaml:
|
To prevent V1 monitoring from being re-enabled, disable monitoring and in future RKE template revisions via modification of the RKE template yaml:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
enable_cluster_alerting: false
|
enable_cluster_alerting: false
|
||||||
@@ -86,7 +86,7 @@ data:
|
|||||||
|
|
||||||
Once this ConfigMap is created, the dashboard will automatically be added to Grafana.
|
Once this ConfigMap is created, the dashboard will automatically be added to Grafana.
|
||||||
|
|
||||||
#### Migrating Alerts
|
### Migrating Alerts
|
||||||
|
|
||||||
It is only possible to directly migrate expression-based alerts to Monitoring V2. Fortunately, the event-based alerts that could be set up to alert on system component, node or workload events, are already covered out-of-the-box by the alerts that are part of Monitoring V2. So it is not necessary to migrate them.
|
It is only possible to directly migrate expression-based alerts to Monitoring V2. Fortunately, the event-based alerts that could be set up to alert on system component, node or workload events, are already covered out-of-the-box by the alerts that are part of Monitoring V2. So it is not necessary to migrate them.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user