From 2cec8e8c91882bedaa204410d5ede9bf7bf0b1f5 Mon Sep 17 00:00:00 2001 From: Maisie Wang Date: Thu, 3 Oct 2019 16:33:03 -0700 Subject: [PATCH 1/3] Add instructions on deploying second prometheus in the same cluster --- deploy/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/deploy/README.md b/deploy/README.md index ad2254b534..9d72be1216 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -15,6 +15,7 @@ This page has instructions for collecting Kubernetes logs, metrics, and events; - [Overwrite Prometheus Remote Write Configuration](#overwrite-prometheus-remote-write-configuration) - [Merge Prometheus Remote Write Configuration](#merge-prometheus-remote-write-configuration) - [How to install if you have standalone Prometheus](#how-to-install-if-you-have-standalone-prometheus) + - [How to install our Prometheus side by side with your existing Prometheus](#how-to-install-our-prometheus-side-by-side-with-your-existing-prometheus) - [Uninstalling the Chart](#uninstalling-the-chart) - [Non Helm Installation](#non-helm-installation) - [Before you start](#before-you-start) @@ -235,6 +236,23 @@ Update your Prometheus configuration file’s `remote_write` section, as per the * `writeRelabelConfigs:` change to `write_relabel_configs:` * `sourceLabels:` change to `source_labels:` +### How to install our Prometheus side by side with your existing Prometheus + +It is possible to have more than one Prometheus running in the same cluster when you have your existing Prometheus running in the cluster that you want to deploy our Chart with our Prometheus to. When installing our Helm Chart, set the following fields for the Prometheus node exporter to use a different port number than the default port number 9100. For example: + +``` +--set prometheus-node-exporter.service.port=9200 --set prometheus-node-exporter.service.targetPort=9200 +``` + +Or add the following section to your override values.yaml: + +``` +prometheus-node-exporter: + service: + port: 9200 + targetPort: 9200 +``` + ### Uninstalling the Chart To uninstall/delete the `collection` release: From 9553042f7cd7bf1ae699d508016fff374f453632 Mon Sep 17 00:00:00 2001 From: Maisie Wang Date: Thu, 3 Oct 2019 16:37:44 -0700 Subject: [PATCH 2/3] Fix indentation --- deploy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/README.md b/deploy/README.md index 9d72be1216..4d7ec64ab3 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -15,7 +15,7 @@ This page has instructions for collecting Kubernetes logs, metrics, and events; - [Overwrite Prometheus Remote Write Configuration](#overwrite-prometheus-remote-write-configuration) - [Merge Prometheus Remote Write Configuration](#merge-prometheus-remote-write-configuration) - [How to install if you have standalone Prometheus](#how-to-install-if-you-have-standalone-prometheus) - - [How to install our Prometheus side by side with your existing Prometheus](#how-to-install-our-prometheus-side-by-side-with-your-existing-prometheus) + - [How to install our Prometheus side by side with your existing Prometheus](#how-to-install-our-prometheus-side-by-side-with-your-existing-prometheus) - [Uninstalling the Chart](#uninstalling-the-chart) - [Non Helm Installation](#non-helm-installation) - [Before you start](#before-you-start) From 0ca272cf573b061b40088dab2dcd24a05ac8fc33 Mon Sep 17 00:00:00 2001 From: David Duke Date: Fri, 4 Oct 2019 15:32:36 -0700 Subject: [PATCH 3/3] Update README My suggestion. --- deploy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/README.md b/deploy/README.md index 4d7ec64ab3..3e5e24471e 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -238,7 +238,7 @@ Update your Prometheus configuration file’s `remote_write` section, as per the ### How to install our Prometheus side by side with your existing Prometheus -It is possible to have more than one Prometheus running in the same cluster when you have your existing Prometheus running in the cluster that you want to deploy our Chart with our Prometheus to. When installing our Helm Chart, set the following fields for the Prometheus node exporter to use a different port number than the default port number 9100. For example: +When installing our Helm Chart it is possible to have more than one Prometheus server running in the same cluster. You can deploy our solution more than once in the same cluster or in a cluster with an existing Prometheus server. To use a different port number than the default 9100 set the following fields for the Prometheus node exporter when installing our Helm Chart. For example: ``` --set prometheus-node-exporter.service.port=9200 --set prometheus-node-exporter.service.targetPort=9200