Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions on deploying second prometheus in the same cluster #224

Merged
merged 3 commits into from
Oct 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

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
```

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:
Expand Down