Skip to content

Commit 8a48362

Browse files
committed
OBSDOCS-1098-remove-prometheus-adapter-refs-for-4.16
1 parent 5eca168 commit 8a48362

8 files changed

+18
-27
lines changed

images/monitoring-architecture.png

11.8 KB
Loading

modules/infrastructure-moving-monitoring.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ data:
5757
- key: node-role.kubernetes.io/infra
5858
value: reserved
5959
effect: NoExecute
60-
k8sPrometheusAdapter:
60+
metricsServer:
6161
nodeSelector:
6262
node-role.kubernetes.io/infra: ""
6363
tolerations:

modules/monitoring-about-specifying-limits-and-requests-for-monitoring-components.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can configure resource limits and request settings for core platform monitor
1414
* node-exporter
1515
* openshift-state-metrics
1616
* Prometheus (for core platform monitoring and for user-defined projects)
17-
* Prometheus Adapter
17+
* Metrics Server
1818
* Prometheus Operator and its admission webhook service
1919
* Telemeter Client
2020
* Thanos Querier

modules/monitoring-common-terms.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Kubernetes scheduler allocates pods to nodes.
5454
labels::
5555
Labels are key-value pairs that you can use to organize and select subsets of objects such as a pod.
5656

57+
Metrics Server::
58+
The Metrics Server monitoring component collects resource metrics and exposes them in the `metrics.k8s.io` Metrics API service for use by other tools and APIs, which frees the core platform Prometheus stack from handling this functionality.
59+
5760
node::
5861
A worker machine in the {product-title} cluster. A node is either a virtual machine (VM) or a physical machine.
5962

@@ -75,9 +78,6 @@ The pod is the smallest logical unit in Kubernetes. A pod is comprised of one or
7578
Prometheus::
7679
Prometheus is the monitoring system on which the {product-title} monitoring stack is based. Prometheus is a time-series database and a rule evaluation engine for metrics. Prometheus sends alerts to Alertmanager for processing.
7780

78-
Prometheus adapter::
79-
The Prometheus Adapter translates Kubernetes node and pod queries for use in Prometheus. The resource metrics that are translated include CPU and memory utilization. The Prometheus Adapter exposes the cluster resource metrics API for horizontal pod autoscaling.
80-
8181
Prometheus Operator::
8282
The Prometheus Operator (PO) in the `openshift-monitoring` project creates, configures, and manages platform Prometheus and Alertmanager instances. It also automatically generates monitoring target configurations based on Kubernetes label queries.
8383

modules/monitoring-configurable-monitoring-components.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
[id="configurable-monitoring-components_{context}"]
66
= Configurable monitoring components
77

8-
This table shows the monitoring components you can configure and the keys used to specify the components in the
8+
This table shows the monitoring components you can configure and the keys used to specify the components in the
99
ifndef::openshift-dedicated,openshift-rosa[]
10-
`cluster-monitoring-config` and
10+
`cluster-monitoring-config` and
1111
endif::openshift-dedicated,openshift-rosa[]
1212
`user-workload-monitoring-config` `ConfigMap` objects.
1313

@@ -30,7 +30,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
3030
|monitoring-plugin | `monitoringPlugin` |
3131
|openshift-state-metrics |`openshiftStateMetrics` |
3232
|Telemeter Client |`telemeterClient` |
33-
|Prometheus Adapter |`k8sPrometheusAdapter` |
33+
|Metrics Server |`metricsServer` |
3434
|Thanos Querier |`thanosQuerier` |
3535
|Thanos Ruler | |`thanosRuler`
3636
|====

modules/monitoring-default-monitoring-components.adoc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ By default, the {product-title} {product-version} monitoring stack includes thes
2323
|Prometheus
2424
|Prometheus is the monitoring system on which the {product-title} monitoring stack is based. Prometheus is a time-series database and a rule evaluation engine for metrics. Prometheus sends alerts to Alertmanager for processing.
2525

26-
|Prometheus Adapter
27-
|The Prometheus Adapter (PA in the preceding diagram) translates Kubernetes node and pod queries for use in Prometheus. The resource metrics that are translated include CPU and memory utilization metrics. The Prometheus Adapter exposes the cluster resource metrics API for horizontal pod autoscaling. The Prometheus Adapter is also used by the `oc adm top nodes` and `oc adm top pods` commands.
28-
29-
|Metrics Server (Technology Preview)
30-
|If enabled, the Metrics Server component collects resource metrics and exposes them in the `metrics.k8s.io` Metrics API service for use by other tools and APIs, which frees the core platform Prometheus stack from handling this functionality.
31-
32-
The Technology Preview of the Metrics Server component is automatically installed instead of Prometheus Adapter if you configure the `FeatureGate` custom resource with the `TechPreviewNoUpgrade` option.
33-
For more information about the support scope of Red{nbsp}Hat Technology Preview features, see link:https://access.redhat.com/support/offerings/techpreview/[Technology Preview Features Support Scope].
26+
|Metrics Server
27+
|The Metrics Server component (MS in the preceding diagram) collects resource metrics and exposes them in the `metrics.k8s.io` Metrics API service for use by other tools and APIs, which frees the core platform Prometheus stack from handling this functionality. Note that with the {product-title} 4.16 release, Metrics Server replaces Prometheus Adapter.
3428

3529
|Alertmanager
3630
|The Alertmanager service handles alerts received from Prometheus. Alertmanager is also responsible for sending the alerts to external notification systems.
@@ -39,7 +33,7 @@ For more information about the support scope of Red{nbsp}Hat Technology Preview
3933
|The kube-state-metrics exporter agent (KSM in the preceding diagram) converts Kubernetes objects to metrics that Prometheus can use.
4034

4135
|monitoring-plugin
42-
|The monitoring-plugin dynamic plugin component deploys the monitoring pages in the *Observe* section of the {product-title} web console.
36+
|The monitoring-plugin dynamic plugin component deploys the monitoring pages in the *Observe* section of the {product-title} web console.
4337
You can use Cluster Monitoring Operator (CMO) config map settings to manage monitoring-plugin resources for the web console pages.
4438

4539
|openshift-state-metrics agent

modules/monitoring-specifying-limits-and-requests-for-monitoring-components.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="specifying-limits-and-resource-requests-for-monitoring-components_{context}"]
7-
= Specifying limits and requests for monitoring components
7+
= Specifying limits and requests for monitoring components
88

99
To configure CPU and memory resources, specify values for resource limits and requests in the appropriate `ConfigMap` object for the namespace in which the monitoring component is located:
1010

@@ -72,13 +72,13 @@ data:
7272
requests:
7373
cpu: 200m
7474
memory: 500Mi
75-
k8sPrometheusAdapter:
75+
metricsServer:
7676
resources:
77-
limits:
78-
cpu: 500m
79-
memory: 1Gi
8077
requests:
81-
cpu: 200m
78+
cpu: 10m
79+
memory: 50Mi
80+
limits:
81+
cpu: 50m
8282
memory: 500Mi
8383
kubeStateMetrics:
8484
resources:

observability/monitoring/configuring-the-monitoring-stack.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,10 @@ include::modules/monitoring-enabling-query-logging-for-thanos-querier.adoc[level
301301
* See xref:../../observability/monitoring/configuring-the-monitoring-stack.adoc#preparing-to-configure-the-monitoring-stack[Preparing to configure the monitoring stack] for steps to create monitoring config maps.
302302
endif::openshift-dedicated,openshift-rosa[]
303303

304-
// Setting audit log levels for the Prometheus Adapter
305-
ifndef::openshift-dedicated,openshift-rosa[]
306-
include::modules/monitoring-setting-audit-log-levels-for-the-prometheus-adapter.adoc[leveloffset=+1]
307-
308304
[role="_additional-resources"]
309305
.Additional resources
310306

307+
ifndef::openshift-dedicated,openshift-rosa[]
311308
* See xref:../../observability/monitoring/configuring-the-monitoring-stack.adoc#preparing-to-configure-the-monitoring-stack[Preparing to configure the monitoring stack] for steps to create monitoring config maps.
312309
endif::openshift-dedicated,openshift-rosa[]
313310

0 commit comments

Comments
 (0)