What is the difference between Project and Cluster Monitoring in Rancher v2.2 - v2.4?

This document (000020026) is provided subject to the disclaimer at the end of this document.

Situation

Question

In Rancher v2.2 - v2.4 monitoring can be enabled at both the cluster and project level, this article explains the differences between the two.

Pre-requisites

  • A Rancher v2.2 - v2.4 instance

Answer

Cluster monitoring

Per the documentation on monitoring in Rancher v2.2 - v2.4, "cluster monitoring allows you to view the health of your Kubernetes cluster. Prometheus collects metrics from the cluster components below, which you can view in graphs and charts". This includes metrics for control plane components, the etcd database, and cluster nodes.

With the metrics provided by cluster monitoring you can then configure cluster alerts, for example for high node CPU or memory usage, or etcd member unavailability, etc.

Project monitoring

Project monitoring can only be enabled with cluster monitoring enabled first.

Per the documentation, "project monitoring allows you to view the state of pods running in a given project. Prometheus collects metrics from the project’s deployed HTTP and TCP/UDP workloads". This enables you to configure scraping of custom metrics endpoints on workloads you deploy into the cluster.

With project monitoring you can then configure project alerts based on the custom metrics scraped, or workloads metrics, such as a pod's memory usage exceeding its quota.

Further Reading

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020026
  • Creation Date: 06-May-2021
  • Modified Date:06-May-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center