Understanding the monitoring stack

    After installing OKD 4.8, cluster administrators can optionally enable monitoring for user-defined projects. By using this feature, cluster administrators, developers, and other users can specify how services and pods are monitored in their own projects. You can then query metrics, review dashboards, and manage alerting rules and silences for your own projects in the OKD web console.

    The OKD monitoring stack is based on the Prometheus open source project and its wider ecosystem. The monitoring stack includes the following:

    • Default platform monitoring components. A set of platform monitoring components are installed in the project by default during an OKD installation. This provides monitoring for core OKD components including Kubernetes services. The default monitoring stack also enables remote health monitoring for clusters. These components are illustrated in the Installed by default section in the following diagram.

    By default, the OKD 4.8 monitoring stack includes these components:

    All of the components in the monitoring stack are monitored by the stack and are automatically updated when OKD is updated.

    In addition to the components of the stack itself, the default monitoring stack monitors:

    • CoreDNS

    • Elasticsearch (if Logging is installed)

    • etcd

    • Fluentd (if Logging is installed)

    • HAProxy

    • Image registry

    • Kubelets

    • Kubernetes API server

    • Kubernetes scheduler

    • Metering (if Metering is installed)

    • OpenShift API server

    • OpenShift Controller Manager

    • Operator Lifecycle Manager (OLM)

    Other OKD framework components might be exposing metrics as well. For details, see their respective documentation.

    OKD 4.8 includes an optional enhancement to the monitoring stack that enables you to monitor services and pods in user-defined projects. This feature includes the following components:

    All of the components in the monitoring stack are monitored by the stack and are automatically updated when OKD is updated.

    When monitoring is enabled for user-defined projects, you can monitor:

    • Metrics provided through service endpoints in user-defined projects.

    • Pods running in user-defined projects.