From d6e1acf84489c65b398789130063afe2b5b09490 Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Fri, 5 Mar 2021 00:14:48 -0700 Subject: [PATCH] Update monitoring v1 port requirements in v2.0-v2.4 docs #3082 --- .../cluster-admin/tools/cluster-monitoring/_index.md | 11 ++++++++++- .../v2.0.x-v2.4.x/cluster-monitoring/_index.md | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.0-v2.4/en/cluster-admin/tools/cluster-monitoring/_index.md b/content/rancher/v2.0-v2.4/en/cluster-admin/tools/cluster-monitoring/_index.md index a85de802964..6e376e0c10d 100644 --- a/content/rancher/v2.0-v2.4/en/cluster-admin/tools/cluster-monitoring/_index.md +++ b/content/rancher/v2.0-v2.4/en/cluster-admin/tools/cluster-monitoring/_index.md @@ -53,7 +53,16 @@ Using Prometheus, you can monitor Rancher at both the cluster level and [project As an [administrator]({{}}/rancher/v2.0-v2.4/en/admin-settings/rbac/global-permissions/) or [cluster owner]({{}}/rancher/v2.0-v2.4/en/admin-settings/rbac/cluster-project-roles/#cluster-roles), you can configure Rancher to deploy Prometheus to monitor your Kubernetes cluster. -> **Prerequisite:** Make sure that you are allowing traffic on port 9796 for each of your nodes because Prometheus will scrape metrics from here. +> **Prerequisite:** The following TCP ports need to be opened for metrics scraping: +> +> | Port | Node type | Component | +> | --- | --- | --- | +> | 9796 | Worker | Node exporter | +> | 10254 | Worker | Nginx Ingress Controller | +> | 10250 | Worker/Controlplane | Kubelet | +> | 10251 | Controlplane | Kube scheduler | +> | 10252 | Controlplane | Kube controller manager | +> | 2379 | Etcd | Etcd server | 1. From the **Global** view, navigate to the cluster that you want to configure cluster monitoring. diff --git a/content/rancher/v2.x/en/monitoring-alerting/v2.0.x-v2.4.x/cluster-monitoring/_index.md b/content/rancher/v2.x/en/monitoring-alerting/v2.0.x-v2.4.x/cluster-monitoring/_index.md index 88be5ee1c7c..0ef3328ff6d 100644 --- a/content/rancher/v2.x/en/monitoring-alerting/v2.0.x-v2.4.x/cluster-monitoring/_index.md +++ b/content/rancher/v2.x/en/monitoring-alerting/v2.0.x-v2.4.x/cluster-monitoring/_index.md @@ -54,7 +54,8 @@ Using Prometheus, you can monitor Rancher at both the cluster level and [project As an [administrator]({{}}/rancher/v2.x/en/admin-settings/rbac/global-permissions/) or [cluster owner]({{}}/rancher/v2.x/en/admin-settings/rbac/cluster-project-roles/#cluster-roles), you can configure Rancher to deploy Prometheus to monitor your Kubernetes cluster. -> **Prerequisite:** The following TCP ports need to be opened for metrics scraping +> **Prerequisite:** The following TCP ports need to be opened for metrics scraping: +> > | Port | Node type | Component | > | --- | --- | --- | > | 9796 | Worker | Node exporter |